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!)
A123637 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!*(n+1)!. 2
1, 4, 23, 238, 4285, 120056, 4807699, 259889218, 18207958073, 1603405689580, 173263178533711, 22534190356771094, 3471514311529290613, 625057269686305463008, 130043797443156653379275 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = Sum_{k=0..2*n} (floor((k + 2)/2)! * n!)/((n - floor((k + 1)/2))!). - G. C. Greubel, Oct 26 2017
EXAMPLE
a(n) equals the sum of (2n+1) terms:
a(0) = 1;
a(1) = 1 + 1*1 + 1*1*2 = 4;
a(2) = 1 + 1*2 + 1*2*2 + 1*2*2*1 + 1*2*2*1*3 = 23;
a(3) = 1 + 1*3 + 1*3*2 + 1*3*2*2 + 1*3*2*2*3 + 1*3*2*2*3*1 + 1*3*2*2*3*1*4 = 238.
MATHEMATICA
Join[{1}, Table[Sum[(Floor[(k + 2)/2]! * n!)/((n - Floor[(k + 1)/2])!), {k, 0, 2*n}], {n, 1, 50}]] (* G. C. Greubel, Oct 26 2017 *)
PROG
(PARI) {a(n)=sum(k=1, 2*n+1, prod(j=1, k, ((j+1)\2)*(j%2)+(n+1-(j\2))*((j-1)%2)))}
CROSSREFS
Cf. A123636.
Sequence in context: A292312 A316083 A326501 * A293510 A234595 A327367
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 04 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 May 10 20:32 EDT 2024. Contains 372388 sequences. (Running on oeis4.)