BARS::Florence Jct., Superior, Globe on US Hwy-60

This road sign is on eastbound US Hwy-60 in Arizona.

The road sign says...

   +---------------------+
   | Florence Jct     12 |
   | Superior         27 |
   | Globe            51 |
   +---------------------+
   the numbers are:  12  27  51
   
   the math is:  27 - 12 = reversedigits(51)

   mixing number systems math:  1216 + 278 = 518

   observe...
      1216 = 1 * 16 + 2 = 18
      278 = 2 * 8 + 7 = 23
      518 = 5 * 8 + 1 = 41

   RSeval using hex math:  (27 - 12) + 5116 = 6016

   observe...
      5116 = 5 * 16 + 1 = 81
      6016 = 6 * 16 = 96

The picture of this road sign was taken on Pi Day 2008. The reversedigits(n) function was created after the Pi Day 2008 road trip was completed. The function was intended to be used on prime numbers only, but rules are sometimes made to be broken.

BAB::New Prime Number Functions Added to the BARS Toolkit


Creator: Gerald Thurman [gthurman@gmail.com]
Created: 25 March 2008

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 United States License.