OFFSET
2,2
LINKS
Rick L. Shepherd, Table of n, a(n) for n = 2..200
C. Cannings, The Stationary Distributions of a Class of Markov Chains, Applied Mathematics, Vol. 4 No. 5, 2013, pp. 769-773.
FORMULA
a(2) = 1, a(3) = 2; thereafter, a(n) = n*a(n-1) + a(n-2).
a(n) ~ c * n!, where c = BesselI(2,2)-BesselI(3,2) = 0.47620848845888... - Vaclav Kotesovec, Feb 14 2014
MATHEMATICA
Table[FullSimplify[-2*BesselI[1+n, -2] * (BesselK[2, 2] + BesselK[3, 2]) + 2*(BesselI[2, 2] - BesselI[3, 2]) * BesselK[1+n, 2]], {n, 2, 20}] (* Vaclav Kotesovec, Feb 14 2014 *)
PROG
(PARI)
v = [1, 2]; for(n=4, 21, v = concat(v, n*v[n-2] + v[n-3])); v \\ Rick L. Shepherd, Jan 22 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Aug 29 2013
EXTENSIONS
More terms from Rick L. Shepherd, Jan 22 2014
STATUS
approved