For your shot at this week?s $50 ThinkGeek gift certificate, send in the count of counting numbers less than 2 million that are carets and vees. Carets are numbers that increase initially and then decrease, increasing and decreasing for at least one digit, and only "bouncing" one time. Repeated digits are acceptable in determining an increasing or decreasing sequence, i.e., 12231 is a caret, as is 1221, but 1233 and 1335 are not. Vees are the mirror image of carets, save that they initially decrease and later increase, with the same ability to utilize repeated digits, and the same restriction on having exactly one "bounce."
Source: http://www.wired.com/geekdad/2012/05/solution-carets-and-vees/
new york best seller lists purchase electronic books steve jobs $1 questions for a lawyer books best sellers list
No comments:
Post a Comment