You are not logged in.
Pages: 1
Find a natural number for which, if you move its first digit at the end, you get a number that is half the original one
(e.g. 81345--->13458 but the resulting number must be the half of the original).
Last edited by anna_gg (2012-12-02 03:16:06)
Offline
Hi anna_gg;
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi anna_gg;
Bobbym,
Sorry, I had made a mistake - please read the new description!
Offline
Hi;
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi;
Great! It is said that there are infinitely many solutions. I have used Excel for the calculations but have not been able to find any at the range 1-5,000,000. Then I gave up
Offline
Hi;
There are more solutions.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Suppose the number is
NB:
(i) Since the number must be even, I write
(ii)
and cannot be zero but the other can be 0.So we want
i.e.
As the LHS is divisible by 19, so must the RHS, and as
we must have divisible by 19. The smallest such n is in other words, the smallest solution is an 18-digit number.PS: Yes, there are infinitely many solutions, because there are infinitely many n such that
is divisible by 19.Last edited by scientia (2012-12-02 16:54:02)
Offline
Here is another variation: Find the smallest natural number for which, if you move its last digit at the beginning, you get a number that is 5 times the original.
Offline
Offline
CORRECT! I found it by using Excel but now am trying to formulate it.
Offline
Hi anna_gg,
Try the following in Excel (I use v2007):-
And here's a little program in BASIC, but testing more numbers, with the same single result (142857):
FOR n = 10 TO 5000000000 STEP 5
n$ = STR$(n)
a$ = RIGHT$(n$,LEN(n$)-1) + LEFT$(n$,1)
IF VAL(a$)*5 - n = 0 THEN PRINT a$
NEXT n
END
Last edited by phrontister (2013-03-04 00:40:44)
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
Excellent! Thanks!
Offline
So, we generalize the problem as follows:
Find the smallest natural number of two or more digits such that if you move the last digit to the front, the resulting number will be n times the original number.
Here are my calculations:
240 books currently added on Goodreads
Offline
Pages: 1