03-20-2013, 02:33 PM | #21 | |
Spun a twirly fruitcake,
Join Date: Feb 2009
Age: 31
Posts: 3,865
|
Re: This time not stupid math
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:
|
|
03-20-2013, 03:18 PM | #22 |
2 is poo
Join Date: Sep 2005
Age: 32
Posts: 6,687
|
Re: This time not stupid math
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.
|
03-20-2013, 06:08 PM | #23 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: This time not stupid math
lol
Last edited by Reincarnate; 09-8-2014 at 08:00 PM.. |
03-20-2013, 06:15 PM | #24 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: This time not stupid math
lol
Last edited by Reincarnate; 09-8-2014 at 07:59 PM.. |
03-20-2013, 06:27 PM | #25 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: This time not stupid math
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 06:35 PM.. |
03-20-2013, 06:38 PM | #26 |
Kawaii Desu Ne?
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
|
Re: This time not stupid math
Hey Reincarnate, do you have a proof or at least a brief explanation for why the method you posted on the first page works?
|
03-20-2013, 06:47 PM | #27 |
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: This time not stupid math
lol
Last edited by Reincarnate; 09-8-2014 at 08:00 PM.. |
03-22-2013, 11:17 AM | #28 |
Mrow~
|
Re: This time not stupid math
You learn something new every day. That page on Wolfram is actually quite enlightening! Thanks for posting.
__________________
948 AAAs | 1461 FCs | 549 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 | |
|
|