A number theory problem by Girija lenka

Find the least number whose last digit is 7 and which becomes 5 times larger when this last digit is carried to the beginning of the number.


The answer is 142857.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Jon Carpio
Nov 15, 2014

As I understand, we have a number with n digits, were the last is 7:

d1 d2 d3 ... d(n-1) dn = d1 d2 d3 ... d(n-1) 7

When the last digit is carried of to the beginning, we have

7 d1 d2 d3 ... d(n-1)

But, when it holds the number becomes 5 times larger. So, we have:

7 d1 d2 d3 ... d(n-1) = 5 x (d1 d2 d3 ... d(n-1) 7)

Well, note first that 5 x 7 = 35

So, we must have 5 x (d1 d2 ... d(n-1) 7 ) ending in 5, which means that d(n-1) = 5 and:

7 d1 d2 d3 ... d(n-2) 5 = 5 x (d1 d2 d3 ... d(n-2) 57)

Note now that 5 x 57 = 285

So, 5 x (d1 d2 d3 ... d(n-2) 57) ends in 85, which means that d(n-2) = 8 and:

7 d1 d2 d3 ... d(n-3) 85 = 5 x (d1 d2 d3 ... d(n-3) 857)

Now, 5 x 857 = 4285, which means that d(n-3) = 2

Continuing on this way, we eventually obtain the number 142857 which, multiplied by 5 becomes 714285.

Girija Lenka
May 27, 2014

Let the required number be (......abc7) . since it is given that 5(...abc7) = (7...abc) we can find that c = 5 . Putting this value of c back in the equation we have 5(...ab57) = 7...ab5 we gives b = 8 .continuing this way till we get 7 for the first time, we find that the required number is 142857 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...