BARS::13 Miles to Poipu on the Island of Kauai in Hawaii

This road sign is on the Hawaiian Island of Kauai.

The road sign says...

   +-----------------+
   | Poipu     13 mi |
   |           21 km |
   | Waimea    21 mi |
   |           34 km |
   +-----------------+
   the numbers are:  13  21  21  34

   the math is:  sqrt(21 * (34 - 13)) = 21
Update::2010.01.29

This BARS was selected to be one of the BARS of the Week for week #3 of the spring 2010 semester.

   the numbers are:  13  21  21  34

   rsStateEval:  34 % 13 + 21 + 21 = 50
   * Hawaii was the 50th state admitted to the Union.

   note:  % is the modulus (or remainder) operator and 
          n % m evaluates to the reminder of n / m
          e.g. 5 % 3 = 2; 21 % 7 = 0; 42 % 11 = 9

   note:  13 is a prime number; therefore, it is in the
          domain (i.e. it can be used as input to) the 
          multiply_digits(n) function.

   rsAgeEval:  34 + 21 - (21 % multiply_digits(13)!) = 52
   * MathBabbler was 52 years young when he found this equation.
   * This is also an off-by-one rsAgeEval because RoadHacker was 
     51 years young when he found this road sign.

   observe...
      multiply_digits(13) = 1 * 3 = 3
      3! = 6; 21 % 6 = 3

Creator: Gerald Thurman [gthurman@gmail.com]
Created: 06 August 2008

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