File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programming Diversions and the fly likes Digital Cash Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Reply Bookmark "Digital Cash" Watch "Digital Cash" New topic
Author

Digital Cash

Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1828
I 'wasted' some time on Sunday for finding the number but could not figure out yet.See if you can:
There is 18 digit number with NO two adjacent digits equal.When number is multiplied by 4,number gets 'reversed'.(i.e. 1234--->4321).Find the number.
[ February 15, 2004: Message edited by: Capablanca Kepler ]

MH
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1828
'Wasted' some more time on Monday and found a answer.Don't know whether this is unique solution.Answer is:
219782178217821978
Regards
Cap
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1828
My friend found some others:
217821978219782178
217802178217802178
Do you see some pattern?
 
 
subject: Digital Cash
 
Threads others viewed
WA #1.....word association
Float precision problem?
Struts doubt
How to calculate space complexity for JPA
maximum concurrent session in apache tomcat
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture