Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131941
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131941 Partial sums of A000982. +0
1
0, 1, 3, 8, 16, 29, 47, 72, 104, 145, 195, 256, 328, 413 (list; graph; listen)
OFFSET

0,3

FORMULA

Binomial transform of [0, 1, 1, 2, -2, 4, -8, 16, -32,...]

For even n a(n)=n(2n^2 +3n +4)/12. For odd n a(n)=(n+1)(2n^2 +n +3)/12. [From Washington Bomfim (webonfim(AT)bol.com.br), Jul 31 2008]

EXAMPLE

a(3) = 8 = (0 + 1 + 2 + 5).

PROGRAM

(PARI) a(n) = (n+[0, 1][n%2+1]) * (2*n^2 +[3, 1][n%2+1]*n +[4, 3][n%2+1])/12 [From Washington Bomfim (webonfim(AT)bol.com.br), Jul 31 2008]

CROSSREFS

Cf. A000982.

Sequence in context: A122796 A104249 A025202 this_sequence A009858 A009439 A000233

Adjacent sequences: A131938 A131939 A131940 this_sequence A131942 A131943 A131944

KEYWORD

nonn,new

AUTHOR

Gary W. Adamson (qntmpkt(AT)yahoo.com), Oct 25 2007

page 1

Search completed in 0.024 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research