The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A123024 a(n) = n!*b(n) where b(n) = (b(n-2) + b(n-3))/(n*(n-1)), b(0) = b(1) = b(2) = 1. 1
1, 1, 2, 2, 4, 8, 12, 28, 60, 112, 284, 652, 1404, 3776, 9228, 22028, 62092, 160448, 414540, 1216012, 3302604, 9092272, 27622844, 78446956, 227652828, 713772368, 2110379772, 6405093068, 20668461340, 63385346912, 200011067244 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
REFERENCES
Richard Bronson, Schaum's Outline of Modern Introductory Differential Equations, MacGraw-Hill, New York,1973, page 107, solved problem 19.15.
LINKS
FORMULA
a(n) = n!*b(n) where b(n) = (b(n-2) + b(n-3))/(n*(n-1)), b(0) = b(1) = b(2) = 1.
From G. C. Greubel, Jul 10 2021: (Start)
D-finite with recurrence a(n) = a(n-2) + (n-2)*a(n-3), with a(0) = a(1) = 1, and a(2) = 2. [corrected by Georg Fischer, Jul 30 2022]
(End)
From Vaclav Kotesovec, Jul 31 2022: (Start)
E.g.f. A(x) satisfies the differential equation A'''(x) = A(x) + (x+1)*A'(x) with A(0) = 1, A'(0) = 1, A''(0) = 1.
a(n) ~ c * exp(n^(1/3) - n/3) * n^(n/3 - 1/6) * (1 + 1/(6*n^(1/3)) + 1/(72*n^(2/3)) - 107/(1296*n)), where c = 0.56651588691862348716469232164213071696766708621590... (End)
MATHEMATICA
b[n_]:= b[n]= If[n<3, 1, (b[n-2] +b[n-3])/(n*(n-1))]; a[n_]:= n!*b[n]; Table[a[n], {n, 0, 30}]
RecurrenceTable[{a[0] == 1, a[1] == 1, a[2] == 2, a[n] == a[n-2] + (n-2)*a[n-3]}, a, {n, 0, 30}] (* Vaclav Kotesovec, Jul 31 2022 *)
nmax = 30; CoefficientList[Series[Pi*(((-BesselI[-(2/3), 2/3])*(-2 + HypergeometricPFQ[{1}, {4/3, 5/3}, 1/9]) + BesselI[1/3, 2/3]*(-2 + 2*HypergeometricPFQ[{1}, {4/3, 5/3}, 1/9] + (3/20)* HypergeometricPFQ[{2}, {7/3, 8/3}, 1/9]))/(3*Sqrt[3]))* Sqrt[1 + x]* BesselI[-(1/3), (2/3)*(1 + x)^(3/2)] + (1 + x)^2* (HypergeometricPFQ[{1}, {4/3, 5/3}, (1/9)*(1 + x)^3]/ 2) + Pi*((BesselI[2/3, 2/3]*(-2 + HypergeometricPFQ[{1}, {4/3, 5/3}, 1/9]) + BesselI[-(1/3), 2/3]*(2 - 2*HypergeometricPFQ[{1}, {4/3, 5/3}, 1/9] - (3/20)* HypergeometricPFQ[{2}, {7/3, 8/3}, 1/9]))/(3*Sqrt[3]))* Sqrt[1 + x]* BesselI[1/3, (2/3)*(1 + x)^(3/2)], {x, 0, nmax}], x] * Range[0, nmax]! // Round (* Vaclav Kotesovec, Jul 31 2022 *)
PROG
(Magma) I:=[1, 1, 2]; [n le 3 select I[n] else Self(n-2) + (n-3)*Self(n-3): n in [1..31]]; // G. C. Greubel, Jul 10 2021
(Sage)
def b(n): return 1 if (n<3) else (b(n-2) + b(n-3))/(n*(n-1))
[factorial(n)*b(n) for n in (0..30)] # G. C. Greubel, Jul 10 2021
CROSSREFS
Sequence in context: A032067 A337361 A153996 * A079092 A323865 A104700
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Sep 24 2006
EXTENSIONS
Edited by G. C. Greubel, Jul 10 2021
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 23 01:37 EDT 2024. Contains 372758 sequences. (Running on oeis4.)