login
The OEIS is supported by the many generous donors 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!. 2
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; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = 1 + Sum_{k=1..n} (floor((k + 1)/2)! * n!)/((n - floor(k/2))!) ). - G. C. Greubel, Oct 26 2017
a(n) ~ n!. - Vaclav Kotesovec, Oct 09 2020
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; ...
MATHEMATICA
Join[{1}, Table[Sum[(Floor[(k + 1)/2]! * n!)/((n - Floor[k/2])!), {k, 1, n}], {n, 1, 50}]] (* G. C. Greubel, Oct 26 2017 *)
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: A363294 A289990 A370369 * A371901 A092816 A078109
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 03 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)