Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A055596
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A055596 Expansion of (2-x-2/e^x)/(1-x). +0
1
1, 0, 2, 6, 32, 190, 1332, 10654, 95888, 958878, 10547660, 126571918, 1645434936, 23036089102, 345541336532, 5528661384510, 93987243536672, 1691770383660094, 32143637289541788, 642872745790835758 (list; graph; listen)
OFFSET

1,3

COMMENT

It appears that a(n) = n*a(n-1) + 2(-1)^(n+1) and that the n-th term of any sequence of the form {A(0) =a, A(1)= b, A(n) = (n-1)(A(n-1)+A(n-2))} is A(n) = b*A000166(n) + a*A055596(n). A(n) can also be expressed as A(n) = n*A(n-1) + (2a-b)(-1)^(n+1) [From Gary Detlefs (gdetlefs(AT)aol.com), Jun 13 2009]

FORMULA

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

a(n) = (n-1)[ a(n-1) + a(n-2) ], n>2.

PROGRAM

(PARI) a(n)=if(n<2, n>0, n*a(n-1)-2*(-1)^n)

(PARI) a(n)=if(n<1, 0, n!*polcoeff((2-x-2*exp(-x+x*O(x^n)))/(1-x), n))

CROSSREFS

a(n) = n!-2 A000166(n), n>0.

Sequence in context: A092199 A108485 A018940 this_sequence A109572 A011820 A111550

Adjacent sequences: A055593 A055594 A055595 this_sequence A055597 A055598 A055599

KEYWORD

nonn

AUTHOR

Gary Detlefs (gdetlefs(AT)absolute-net.com), Jul 10 2000

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Jul 11 2000

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 16 13:01 EST 2009. Contains 170825 sequences.


AT&T Labs Research