Thread: Pop quiz!
View Single Post
  #81  
Old 08-23-2004, 10:47 PM
Draknek's Avatar
Draknek Draknek is offline
Cursory
Member
 
Join Date: Mar 2003
Location: Bristol, England
Posts: 165
Send a message via MSN to Draknek
Default

Yeah, when my maths method started to get difficult, I switched to a programming method.

Which is good, because it turned out to be wrong anyway. I found the error: instead of summing 1/2*k*(k+1) between k=1 and k=y, I needed to sum 1/2*k*(k+1) + 1 between k=1 and k=y-1.
__________________
Self-referential sigs do not a humourous poster make.
Reply With Quote