Thread: Silliness Quiz
View Single Post
Old 09-27-2012, 12:19 PM   #9342
Daithi
Publishers are evil!
Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.Daithi ought to be getting tired of karma fortunes by now.
 
Daithi's Avatar
 
Posts: 2,418
Karma: 36205264
Join Date: Mar 2008
Location: Rhode Island
Device: Various Kindles
Quote:
Originally Posted by pdurrant View Post
This is true, but for 364 days it's still 8,104,460.

S DAYS=364
S TOTAL=DAYS*(DAYS+1)*(DAYS+2)/6
W TOTAL

I think my version is a little more efficient.
I agree completely. I also happen to like your version. Simpler is always better.

The reason I posted the 365 answer was because that was what was asked for in the question, and I did my little program at about the same time you did your post. I certainly didn't mean you any disrespect pdurrant, and I like your method to the answer better.
Daithi is offline   Reply With Quote