OFFSET
0,2
COMMENTS
Apart from the offset, the same as A038507. - R. J. Mathar, Jun 07 2011
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
a(n) = (n-1)!+1, n>0, a(0)=1.
From Sergei N. Gladkovskii, Jun 14 2012: (Start)
G.f. = 1 + x*G(0) where G(k) = 1 + k!/(1 - x/(x + (k!)/G(k+1))); (continued fraction, 3rd kind, 3-step).
E.g.f. = 1 + x*G(0)) where G(k)= 1 + k!/(1 - x/(x + (k+2)*(k!)/G(k+1))); (continued fraction, 3rd kind, 3-step).
(End).
MATHEMATICA
Join[{1}, Range[0, 20]!+1] (* Harvey P. Dale, Jun 28 2011 *)
PROG
(PARI)
Vec(serlaplace(exp(x)+log(1/(1-x)))) [Joerg Arndt, Mar 03 2011]
(Magma) [1], [(1+Factorial(n-1)): n in [1..20]]; // Vincenzo Librandi, Oct 04 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Kruchinin, Feb 21 2011
STATUS
approved