OFFSET
1,2
REFERENCES
R. K. Guy, personal communication.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
FORMULA
Nearest integer to BesselI(1, 2)*(n-1)!*(n-1)!*n/(n-1), n>2.
MATHEMATICA
Join[{0, 2}, Table[Floor[BesselI[1, 2]*(n - 1)!*(n - 1)!*n/(n - 1)], {n, 3, 50}]] (* G. C. Greubel, Aug 16 2017 *)
RecurrenceTable[{a[1]==0, a[n+1]==(n^2-1)a[n]+n+1}, a, {n, 20}] (* Harvey P. Dale, May 16 2020 *)
PROG
(PARI) a(n) = if (n==1, 0, (n^2-2*n)*a(n-1) + n); \\ Michel Marcus, Aug 16 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from James A. Sellers, May 01 2000
STATUS
approved