login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A232617
Product of first n odd numbers plus product of first n even numbers: (2n-1)!! + (2n)!!, where k!! = A006882(k).
3
3, 11, 63, 489, 4785, 56475, 780255, 12348945, 220253985, 4370620275, 95498916975, 2278224696825, 58917607974225, 1641787169697675, 49040157044253375, 1563094742062478625, 52953322446161762625, 1899986948191060603875, 71977860935783603175375, 2870913642898706235455625
OFFSET
1,1
FORMULA
a(n) = A006882(2*n-1) + A006882(2*n).
a(n) = A001147(n) + A000165(n).
a(n) +(-4*n+3)*a(n-1) +2*(n-1)*(2*n-3)*a(n-2)=0. - R. J. Mathar, Nov 23 2014
EXAMPLE
a(3) = 1*3*5 + 2*4*6 = 15 + 48 = 63.
MATHEMATICA
Table[n!!+(n+1)!!, {n, 1, 41, 2}] (* Harvey P. Dale, Jan 22 2019 *)
PROG
(Python)
o=e=1
for n in range(1, 99, 2):
o*=n
e*=n+1
print(str(e+o), end=', ')
(PARI) a(n)=prod(i=1, n, 2*i-1)+prod(i=1, n, 2*i) \\ Ralf Stephan, Nov 28 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Nov 27 2013
STATUS
approved