All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Rare Rotative Relationship! (Posted on 2004-09-23) Difficulty: 3 of 5
What is the smallest number so that if you move its last digit to the beginning (for example, turning 1234 into 4123) you get a new number that is an integer multiple of the original number?

See The Solution Submitted by Old Original Oskar!    
Rating: 4.7500 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution The first few | Comment 3 of 13 |
Number       new numb.  multiple
102564        410256        4
128205        512820        4
142857        714285        5
153846        615384        4
179487        717948        4
205128        820512        4
230769        923076        4

DEFDBL A-Z
n = 11
DO
 n1$ = LTRIM$(STR$(n))
 n2$ = RIGHT$(n1$, 1) + LEFT$(n1$, LEN(n1$) - 1)
 n2 = VAL(n2$)
 IF n2 / n = INT(n2 / n) THEN
  IF n2 / n > 1 THEN PRINT n, n2, n2 / n
 END IF
 n = n + 1
LOOP


  Posted by Charlie on 2004-09-23 13:27:56
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (16)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information