number problem

n1 and n2 are two numbers which on multiplying with 7 gives a number consisting only five's no number between n1 and n2 exists which on multiplying with 7 gives the same result.
Find n1 - n2

18 Answers

1
Philip Calvert ·

your one post was enough to make it "tooo obvious" [3]

1
Philip Calvert ·

you dont really need conguencies to solve this one though it can be handy if you know

11
Anirudh Narayanan ·

HEy, where did congruence come from? We aren't talking about triangles.

1
gagar.iitk ·

hey philip u r very right

341
Hari Shankar ·

I used ≡, not =. Look up congruences. Loosely speaking, the remainder is 3 upon division by 7. But here remainder need not lie between 0 and 6

11
Anirudh Narayanan ·

364 = 0 l7l
= 0 ?

11
Anirudh Narayanan ·

10 = 3 l7l
= 3x7
= 21?
[7]

341
Hari Shankar ·

55555..555(n times) = 5(1+10+102+...+10n-1)

Now 10≡3 mod 7,

So (1+10+102+...+10n-1) ≡ 1+3+32+...+3n-1 mod 7

checking for n=1,2,3 we get for n = 6, 1+3+3222+..+35 =364 ≡ 0 mod 7

Hence the number 555555 is the first such number.

Its obvious that the next such number can only be 555...555 (12 5s)

11
Anirudh Narayanan ·

How's this tooooo obvious? [7]
pls tell me someone [7] [2]

11
Anirudh Narayanan ·

[12][12][12][12][12]

[7][7][7][7][7]

[2][2][2][2][2]

11
Anirudh Narayanan ·

OBVIOUS? [11]

1
rahul ·

thats tooo obvious

1
rahul ·

thats tooo obvious

11
Anirudh Narayanan ·

How did you know these were the numbers?

1
Philip Calvert ·

since n1 and n2 are not necessarily the first such nos the general ans would be

79365 x 106k where k={1,2,3,4......}

hope i am not blabbering [4]

1
Philip Calvert ·

multiply and check yourself

11
Anirudh Narayanan ·

HOW?[11]

1
Philip Calvert ·

n1=79365
n2=79365079365

|n1-n2| = 79365000000
[1]

Your Answer

Close [X]