BARS::2 Miles From Cotton City in New Mexico

This road sign is on southbound NM Hwy-338 in New Mexico.

The road sign says...

   +------------------+
   | Cotton City    2 |
   | Animas        13 |
   | Playas        31 |
   +------------------+
   the numbers are:  2  13  31

   primeRS: All of the numbers in this sign are prime numbers.

   rs42Eval:  31 + 13 - 2 = 42
   * 42 is the "Answer to Life, the Universe, and Everything"

   rsFacebookStatusLenEval:  summation(13, 31) + 2 = 420
   * Maximum length of a Facebook status update is 420 characters.
   * summation(13, 31) = 13+14+15+...+29+30+31 = 418

   off-by-one rsStateEval:  2 + 13 + 31 = 47-1
   * New Mexico was the 47th state admitted to the Union.

   BARSfunc math:  mult_digits(13)! / 2 = mult_digits(31)
   * mult_digits(n) = product of the digits of n
   * domain:  n must be a prime number
   * mult_digits(13) = 1*3 = 3; 3! = 6; mult_digits(31)= 3*1 = 3

   BARSfunc rsAgeEval:  31 + sum_digits(13)! - 2 = 53
   * RoadHacker was 53 years young when he found this road sign.
   * sum_digits(n) = sum the digits of n
   * domain:  n must be a prime number
   * sum_digits(13) = 1+3 = 4; 4! = 24

   BARSfunc off-by-one rsAgeEval:  2 * (13 + reverse_digits(31)) = 53-1
   * RoadHacker was 53 years young when he found this road sign.
   * reverse_digits(n) = the digits of n reversed
   * domain:  n must be a prime number
   * reverse_digits(31) = 13
Update::2013.12.29

This BARS needed to be updated because the rsAllPrimes label was changed to primeRS.

   the numbers are:  2  13  31

   rsCardinalityEval:  31 % 13 - 2 = 3
   * There are three numbers in this road sign.

   off-by-one rsAgeEval:  2 * 13 + 31 = 56+1
   * MathBabbler was 56 years young when he found this equation.

Creator: Gerald Thurman [gthurman@gmail.com]
Created: 30 April 2011

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