Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Terry has invented a new way to extend lists of numbers. To Terryfy a list such as [1, 8] he creates two lists [2, 9] and [3, 10], where each term is one more than the corresponding term in the previous list, and then joins the three lists together to give [1, 8, 2, 9, 3, 10]. If he starts with a list containing one number [0] and repeatedly Terryfies it he creates the list [0,1,2,1,2,3,2,3,4,1,2,3,2,3,4,3,4,5,2,3,4,... ].
  2.  
  3. What is the 2012th number in this Terryfic list?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement