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!)
A065956 a(n) = ceiling((-1)^n*n!*(E(n,2)-E(n,1)*E(n-1,1))) where E(n,x) = Sum_{k=0..n} (-1)^k*x^k/k!. 4
1, 1, 2, 3, 5, 9, 15, 27, 48, 87, 160, 296, 552, 1033, 1941, 3663, 6936, 13171, 25076, 47854, 91515, 175352, 336587, 647132, 1246070, 2402691, 4638909, 8967212, 17353538, 33618333, 65191863, 126535914, 245818071, 477938270, 929968029, 1810857391, 3528610690, 6880357956 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
1, 1, 2, 3, 5, 17/2, 89/6, 211/8, 1903/40, 62473/720, ...
MATHEMATICA
e[n_, x_]:=Sum[(-x)^k/k!, {k, 0, n}]; a[n_]:=Ceiling[(-1)^n*n!*(e[n, 2]-e[n, 1]e[n-1, 1])]; Array[a, 38, 0] (* Stefano Spezia, Apr 12 2024 *)
CROSSREFS
Sequence in context: A022858 A301470 A090905 * A328078 A178738 A060013
KEYWORD
nonn,changed
AUTHOR
N. J. A. Sloane, Dec 08 2001
EXTENSIONS
a(0)=1 prepended by and a(37) from Stefano Spezia, Apr 12 2024
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 April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)