Miscellaneous > Programming & Networking
Challenge n: Fun with numbers!
(1/1)
TheQuirk:
This one can be solved using a computer or a pen and paper.
n is a six-digit natural number. n's first digit is 2. If n's first digit is removed and placed at the front of the number, then the new number is three times larger than n.
What's n?
piratePenguin:
.
piratePenguin:
w00t!, made a program to do this, here's the C source code:
http://illhostit.com/files/4811330734929765/n.c
--- Quote ---piratepenguin@pcdeclan:~/stuff/programming/c/n$ ./n | grep yes
Checking: 285714... yes!
--- End quote ---
The answer is 285714 :)
Navigation
[0] Message Index
Go to full version