Stop Microsoft
Welcome,
Guest
. Please
login
or
register
.
Have you missed your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length.
News:
Home
Help
Login
Register
Stop Microsoft
»
Miscellaneous
»
Programming & Networking
»
Challenge n: Fun with numbers!
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Challenge n: Fun with numbers! (Read 1898 times)
TheQuirk
VIP
Member
Posts: 2,154
Kudos: 315
Challenge n: Fun with numbers!
«
on:
1 November 2005, 23:55 »
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?
Logged
piratePenguin
VIP
Member
Posts: 3,027
Kudos: 775
Re: Challenge n: Fun with numbers!
«
Reply #1 on:
2 November 2005, 00:20 »
.
Logged
"What you share with the world is what it keeps of you."
- Noah And The Whale: Give a little love
a poem by my computer,
Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.
piratePenguin
VIP
Member
Posts: 3,027
Kudos: 775
Re: Challenge n: Fun with numbers!
«
Reply #2 on:
2 November 2005, 02:35 »
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!
The answer is 285714
Logged
"What you share with the world is what it keeps of you."
- Noah And The Whale: Give a little love
a poem by my computer,
Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.
Print
Pages: [
1
]
Go Up
« previous
next »
Stop Microsoft
»
Miscellaneous
»
Programming & Networking
»
Challenge n: Fun with numbers!