|
|
#21 | |
|
Spun a twirly fruitcake,
Join Date: Feb 2009
Age: 28
Posts: 3,730
|
Oh jeez, I can't even watch sitcoms anymore or I'm behind with the times.
Ehhm, I'll have something to read on my free night tonight ![]()
__________________
Quote:
|
|
|
|
|
|
|
#22 |
|
2 is poo
Join Date: Sep 2005
Age: 28
Posts: 6,620
|
What R did in his lengthy post looks familiar with what I know on this subject regarding generating functions, etc... of course, if you wanted to go through those steps 100 times... let's just say you'd rather eat lead. That program is definitely tidy.
|
|
|
|
|
|
#23 |
|
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,334
|
lol
Last edited by Reincarnate; 09-8-2014 at 09:00 PM.. |
|
|
|
|
|
#24 |
|
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,334
|
lol
Last edited by Reincarnate; 09-8-2014 at 08:59 PM.. |
|
|
|
|
|
#25 |
|
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,334
|
You can also use
http://en.wikipedia.org/wiki/Faulhaber%27s_formula With the recursive definition for the Bernoulli numbers defined here http://en.wikipedia.org/wiki/Bernoul...ive_definition But I mean it may as well just be this... Code:
def brute(x,y):
return sum(i**(x-1) for i in range(1,y))
Last edited by Reincarnate; 03-20-2013 at 07:35 PM.. |
|
|
|
|
|
#26 |
|
Kawaii Desu Ne?
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 27
Posts: 4,130
|
Hey Reincarnate, do you have a proof or at least a brief explanation for why the method you posted on the first page works?
|
|
|
|
|
|
#27 |
|
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,334
|
lol
Last edited by Reincarnate; 09-8-2014 at 09:00 PM.. |
|
|
|
|
|
#28 |
|
Mrow~
|
You learn something new every day. That page on Wolfram is actually quite enlightening! Thanks for posting.
__________________
![]() 853 AAAs | 1282 FCs | 316 TPs | 7 FMO AAAs Skype: paperclipgames | Steam: alegiano | Last.fm: Alegiano | Ask.fm: Clippysan | Facebook: LINK Best AAAs: Exciting Hyper Highspeed Star (69), Nous (69), Pure Ruby (68), Heavenly Spores (68), Ambient Angels (66), Within Life (66), Defection (66) Southern Cross (65) |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|