BARS::17 Miles From Bagdad, Arizona

This road sign is on northbound AZ Hwy-97 in Arizona.

The road sign says...

   +---------------+
   | Bagdad     17 |
   | Hillside   31 |
   +---------------+
   the numbers are:

   rsStateEval  17 + 31 = 48
   * Arizona was the 48th state admitted to the Union.

   AllPrimesRS:  17 and 31 are both prime numbers
   AllReversiblePrimesRS:  17 and 31 are reversible primes
   * reverse_digits(n) = the digits of n reversed
     domain:  n must be a prime number
   * reverse_digits(17) = 71 and 71 is prime
   * reverse_digits(31) = 13 and 13 is prime

   BARSfunc rsCardinalityEval:  sum_digits(17) / sum_digits(31) = 2
   * There are two numbers in this road sign.
   * sum_digits(n) = sum the digits of n
     domain:  n must be a prime number
   * sum_digits(17) = 1+7 = 8; sum_digits(31) = 3+1 = 4

   BARSfunc rsStateEval:  sum_digits(17) * mult_digits(31)! = 48
   * Arizona was the 48th state admitted to the Union.
   * mult_digits(n) = product of the digits of n
     domain:  n must be a prime number
   * mult_digits(31) = 3*1 = 3

   BARSfunc off-by-one rsAgeEval:  sum_digits(17) * mult_digits(31)! = 48+1
   * RoadHacker was 49 years young when he found this road sign. 
     Note: MathBabbler created this BARS when he was 58 years young.
     road sign did not 

   BARSfunc rs42Eval:  mult_digits(17) * mult_digits(31)! = 48
   * 42 is the "Answer to Life, the Universe, and Everything"

Creator: Gerald Thurman [gthurman@gmail.com]
Created: 14 August 2015

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