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!)
A129379 a(n) = sum of sums of all sets of three distinct preceding terms otherwise a(n) = n for n <= 3. 3
1, 2, 3, 6, 36, 288, 3360, 55440, 1241856, 36427776, 1358235648, 62818398720, 3531789972480, 237336286150656, 18792718657929216, 1732062236305809408, 183865068161693614080, 22273939685873740677120 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = (1/2)*(n-2)*(n-3)*Sum_{j=1..n-1} a(j) for n > 3, with a(1) = 1, a(2) = 2, a(3) = 3.
a(n) = A000217(n-3)*A129380(n-1) for n > 3.
From G. C. Greubel, Feb 02 2024: (Start)
a(n) = (6/2^(n-4))*binomial(n-2,2)*|Pochhammer((3+i*sqrt(7))/2, n-4)|^2 for n > 3, otherwise a(n) = n.
a(n) = (3/2^(n-3))*binomial(n-2,2)*Product_{k=0..n-3} (k^2 - k + 2), for n > 3, otherwise a(n) = n.
a(n) = (n-2)*(n^2-7*n+14)/(2*(n-4))*a(n-1), for n > 4, otherwise a(n) = binomial(n, floor(n/2)).
(End)
From Vaclav Kotesovec, Feb 03 2024: (Start)
For n>=4, a(n) = 3 * 2^(3-n) * (n-3) * (n-2) * cosh(sqrt(7)*Pi/2) * Gamma(n - 5/2 - i*sqrt(7)/2) * Gamma(n - 5/2 + i*sqrt(7)/2)/Pi, where i is the imaginary unit.
a(n) ~ 3 * cosh(sqrt(7)*Pi/2) * n^(2*n-4) / (2^(n-4) * exp(2*n)). (End)
MATHEMATICA
a[n_]:= a[n]= If[n<5, Binomial[n, Floor[n/2]], (n-2)*(n^2-7*n+14)*a[n- 1]/(2*(n-4))];
Table[a[n], {n, 40}] (* G. C. Greubel, Feb 02 2024 *)
Round[Flatten[{{1, 2, 3}, Table[3 * 2^(3-n) * (n-3) * (n-2) * Cosh[Sqrt[7]*Pi/2] * Gamma[n - 5/2 - I*Sqrt[7]/2] * Gamma[n - 5/2 + I*Sqrt[7]/2]/Pi, {n, 4, 20}]}]] (* Vaclav Kotesovec, Feb 03 2024 *)
PROG
(Magma)
A129379:= func< n | n le 3 select Binomial(n, Floor(n/2)) else (3/2^(n-3))*Binomial(n-2, 2)*(&*[k^2-k+2: k in [0..n-3]]) >;
[A129379(n): n in [1..30]]; // G. C. Greubel, Feb 02 2024
(SageMath)
def A129379(n): return binomial(n, n//2) if n<4 else 3*binomial(n-2, 2)*product(j^2-j+2 for j in range(n-2))//2^(n-3)
[A129379(n) for n in range(1, 31)] # G. C. Greubel, Feb 02 2024
CROSSREFS
Sequence in context: A263803 A178175 A351883 * A000308 A299399 A173501
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 14 2007
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 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)