login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123636 a(n) = 1 + 1*n + 1*n*2 + 1*n*2*(n-1) + 1*n*2*(n-1)*3 + 1*n*2*(n-1)*3*(n-2) + ... + n!. 1
1, 1, 3, 10, 37, 176, 979, 6658, 50873, 451180, 4376911, 47740694, 560586613, 7248848608, 99837660875, 1492197903466, 23571796088689, 399706304138708, 7121101849585543, 135049981967575870, 2678257990821099821 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

EXAMPLE

a(0) = a(1) = 1;

a(2) = 1 + 1*2 = 3;

a(3) = 1 + 1*3 + 1*3*2 = 10;

a(4) = 1 + 1*4 + 1*4*2 + 1*4*2*3 = 37;

a(5) = 1 + 1*5 + 1*5*2 + 1*5*2*4 + 1*5*2*4*3 = 176; ...

PROG

(PARI) {a(n)=if(n==0, 1, sum(k=1, n, prod(j=1, k, ((j+1)\2)*(j%2)+(n+1-(j\2))*((j-1)%2))))}

CROSSREFS

Cf. A123637.

Sequence in context: A064613 A138378 A005493 * A092816 A078109 A149045

Adjacent sequences:  A123633 A123634 A123635 * A123637 A123638 A123639

KEYWORD

nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Oct 03 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 09:00 EST 2012. Contains 205904 sequences.