wood burning stoves 2.0*
The moose likes Programming Diversions and the fly likes Quck one for a Friday afternoon. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Quck one for a Friday afternoon." Watch "Quck one for a Friday afternoon." New topic
Author

Quck one for a Friday afternoon.

Ryan McGuire
Ranch Hand

Joined: Feb 18, 2005
Posts: 1006
    
    3
I just noticed that my odometer reads 74047, which is a palindromic number. If I always drive at exactly 55 miles per hour how long has it been since the previous palindromic odometer reading (to the closest minute).
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2982
    
    9
Two hours.
W. Joe Smith
Ranch Hand

Joined: Feb 10, 2009
Posts: 710
I believe the palindrome immediately before 74047 is 73937, making a difference of 110 miles, meaning exactly 2 hours driving time.

Bah! I was beat!


SCJA
When I die, I want people to look at me and say "Yeah, he might have been crazy, but that was one zarkin frood that knew where his towel was."
 
jQuery in Action, 2nd edition
 
subject: Quck one for a Friday afternoon.
 
Similar Threads
Palindromic Number
A fun algorithm for All possible combinations of alphabets
The world will end this Friday, at 11:31:30pm UTC
Odometer
recursion