A Problem

A Problem

Posers and Puzzles

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.

e

Joined
21 Apr 05
Moves
54
23 Apr 05

Find a number divisible by 41 whose digits are all nines. Without doing the division find the remainder when
90 000 800 007 000 060 000 500 004 000 030 000 200 001 is divided by 41.

J

back in business

Joined
25 Aug 04
Moves
1264
25 Apr 05

Originally posted by elopawn
Find a number divisible by 41 whose digits are all nines. Without doing the division find the remainder when
90 000 800 007 000 060 000 500 004 000 030 000 200 001 is divided by 41.
oh no..i have only ten fingers

p

Non-Sub Recs: 0

Joined
08 Apr 05
Moves
455
25 Apr 05
2 edits

😵😵😵😵

i think i got it

e

Joined
21 Apr 05
Moves
54
25 Apr 05
1 edit

Originally posted by Jusuh
oh no..i have only ten fingers
Need a clue?

Think about dividing 100, 1000, 10000, 100000 by 41 and the remainders of them. Eg they are 18, 16, 37 and 1.

How does this relate to the question?

T

Joined
29 Feb 04
Moves
22
25 Apr 05

Originally posted by elopawn
Find a number divisible by 41 whose digits are all nines. .
FLT


e

Joined
09 Jan 05
Moves
521
25 Apr 05

oh, i got a headache.🙄

n

Joined
21 Aug 04
Moves
6981
26 Apr 05

9999999999
243902439

e

Joined
21 Apr 05
Moves
54
26 Apr 05

Originally posted by THUDandBLUNDER
FLT


What's FLT stand for?

Anyway I'll post the answer if no one gets it in a day.

T

Joined
29 Feb 04
Moves
22
26 Apr 05
2 edits

Originally posted by elopawn
What's FLT stand for?
Fermat's Little Theorem:

http://mathworld.wolfram.com/FermatsLittleTheorem.html

p

Non-Sub Recs: 0

Joined
08 Apr 05
Moves
455
26 Apr 05
1 edit

Fermat's Little Throrem? The problem does not relate to it.
I'll post the answer now if you want it, it actually after you see it is rather simple.

p

Non-Sub Recs: 0

Joined
08 Apr 05
Moves
455
26 Apr 05
1 edit

Ok so we know after dividing bu 100, 1000, 10000, 100000 by 41 we get-- 18, 16, 37, 1

Thus 99999 is divisible by 41.

Let x=90 000 800 007 000 060 000 500 004 000 030 000 200 001

=9* 10power40 + 8* 10power35 +7* 10power30 + 6* 10power25 + 5* 10power20 + 4* 10power15 + 3* 10power10 + 2* 10power5 + 1

From the above, 10power5 leaves a remainder of 1 when divided by 41.

Thus the remainders of each term of the sum are 9,8,7,6,5,4,3,2,1 !!

The sum of the remainders is 45 and so the remainder when x is divided by 41 is 4 !!

T

Joined
29 Feb 04
Moves
22
26 Apr 05
2 edits

Originally posted by phgao
Fermat's Little Throrem? The problem does not relate to it.
a^(p-1) - 1 = 0 (mod p) where a is a positive integer and p is a prime.

In your problem, a = 10 and p = 41

Therefore the number 10^40 - 1 is divisble by 41

As you didn't ask for the smallest such number, this answers your first question rather more quickly than your trial-and-error method.

p

Non-Sub Recs: 0

Joined
08 Apr 05
Moves
455
26 Apr 05

Originally posted by THUDandBLUNDER
a^(p-1) - 1 = 0 (mod p) where a is a positive integer and p is a prime.

In your problem, a = 10 and p = 41

Therefore the number 10^40 - 1 is divisble by 41

As you didn't ask for the smallest such number, this answers your first question rather more quickly than your trial-and-error method.
Oh thanks for that insight T&B! I appreciate it.

T

Joined
29 Feb 04
Moves
22
26 Apr 05

Originally posted by phgao
Oh thanks for that insight T&B! I appreciate it.
Sorry, I thought I was replying to the original poster (elopawn).