login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038159 a(n) = n*a(n-1) + 1, a(0) = 2. 3
2, 3, 7, 22, 89, 446, 2677, 18740, 149921, 1349290, 13492901, 148421912, 1781062945, 23153818286, 324153456005, 4862301840076, 77796829441217, 1322546100500690, 23805829809012421, 452310766371236000, 9046215327424720001, 189970521875919120022 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

FORMULA

n!*(1+Sum(1/k!, k=0..n)).

E.g.f.: (1+exp(x))/(1-x).

a(n) = floor(n!*(e+1)), n>0 [From Gary Detlefs (gdetlefs(AT)aol.com), Jul 18 2010]

MATHEMATICA

s=3; lst={2, s}; Do[s+=s++n; AppendTo[lst, Abs[s]], {n, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Oct 23 2008]

CROSSREFS

A038159(n) = A000522(n) + n!.

A033540(n+1) + 1.

Sequence in context: A010738 A114599 A094062 * A077210 A151908 A072214

Adjacent sequences:  A038156 A038157 A038158 * A038160 A038161 A038162

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

Comments from Michael Somos

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 13:28 EST 2012. Contains 206031 sequences.