BABs were born on 2/9/2005.

During class on 2/8/2007, GDT mentioned that BABs had a birthday on 2/9/2007. An observation was made that 2/9/07 was a BAD because two subtracted from nine equals seven. This BAD discovery prompted GDT to see if BAB birthdays from 2005 to 2015 were BADs.

2/9/05 -- sqrt(9) + 2 = 5 [BABs were born] 2/9/06 -- sqrt(9) x 2 = 6 [BABs turn one] 2/9/07 -- 2 + 7 = 9 [BABs turn two] 2/9/08 -- 2^sqrt(9) = 8 [BABs turn three] 2/9/09 -- sqrt(9)^2 = 9 [BABs turn four] 2/9/10 -- sqrt(9) - 2 = log(10) [BABs turn five] 2/9/11 -- 2 + 9 = 11 [BABs turn six] 2/9/12 -- sqrt(9)! x 2 = 12 [BABs turn seven] 2/9/13 -- sqrt(13 - 9) = 2 [BABs turn eight] 2/9/14 -- ??? [BABs turn nine] 2/9/15 -- ??? [BABs turn a decade]

`[extra effort]`

Check BAB birthdays for the years 2016 through 2038.2/9/16 -- ??? 2/9/17 -- ??? 2/9/18 -- ??? ... 2/9/25 -- ??? [BABs turn twenty] ... 2/9/36 -- ??? 2/9/37 -- ??? 2/9/38 -- ???

`[computing]`

Write a program to test a date for being a BAD.# returns true if "date" is a BAD; false otherwise true_or_false = isBAD(date)

**Creator:** Gerald D. Thurman
[gthurman@gmail.com]

**Created:** 09 February 2007

This work is licensed under a Creative Commons License.