BARS::Triple Prime Road Sign On the Apache Trail in Arizona

This road sign is on the eastbound Apache Trail (AZ Hwy-88) in Arizona.

The road sign says...

   +----------------------+
   | Tortilla Flat      2 |
   | Apache Lake       17 |
   | Roosevelt Lake    29 |
   +----------------------+
   the numbers are:  2  17  29

   AllPrimesRS:  2, 17, 29 are all prime numbers

   rsStateEval:  2 + 17 + 29 = 48
   * Arizona was the 48th state admitted to the Union.

   BARSfunc rsPiEval:  (sum_digits(29) * 2) / multi_digits(17) ~= Pi
   * 22/7 approximates Pi rounded to nearest hundredth (3.14)
   * sum_digits(n) = sum the digits of n
   * domain:  n must be a prime number
   * sum_digits(29) = 2+9 = 11
   * mult_digits(n) = product of the digits of n
   * domain:  n must be a prime number
   * mult_digits(17) = 1*7 = 7

   BARSfunc rsCardinalityEval:  mult_digits(29) - 17 + 2 = 3
   * The road sign contains 3 numbers.

   off-by-one rs42Eval:  2 * 29 - 17 = 42-1
   * 42 is the "Answer to Life, the Universe, and Everything"

Creator: Gerald Thurman [gthurman@gmail.com]
Created: 24 December 2011

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