The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A019496 a(n) = 3*a(n-1) - 3*a(n-3) + 2*a(n-4), with a(0)=4, a(1)=11. 1
 4, 11, 30, 81, 218, 586, 1575, 4233, 11377, 30578, 82185, 220890, 593690, 1595671, 4288713, 11526849, 30980914, 83267945, 223800714, 601513098, 1616697287, 4345225609, 11678738961, 31389151218, 84365171401 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 REFERENCES R. K. Guy, personal communication. LINKS G. C. Greubel, Table of n, a(n) for n = 0..1000 Index entries for linear recurrences with constant coefficients, signature (3, 0, -3, 2). FORMULA G.f.: (4-x-3*x^2+3*x^3)/(1-3*x+3*x^3-2*x^4). - Harvey P. Dale, Oct 25 2011 MATHEMATICA LinearRecurrence[{3, 0, -3, 2}, {4, 11, 30, 81}, 30] (* Harvey P. Dale, Oct 25 2011 *) PROG (PARI) my(x='x+O('x^30)); Vec((4-x-3*x^2+3*x^3)/(1-3*x+3*x^3-2*x^4)) \\ G. C. Greubel, Mar 24 2019 (MAGMA) I:=[4, 11, 30, 81]; [n le 4 select I[n] else 3*Self(n-1)- 3*Self(n-3) +2*Self(n-4): n in [1..30]]; // G. C. Greubel, Mar 24 2019 (Sage) ((4-x-3*x^2+3*x^3)/(1-3*x+3*x^3-2*x^4)).series(x, 30).coefficients(x, sparse=False) # G. C. Greubel, Mar 24 2019 CROSSREFS Sequence in context: A114726 A128098 A019495 * A021006 A078141 A090327 Adjacent sequences:  A019493 A019494 A019495 * A019497 A019498 A019499 KEYWORD nonn AUTHOR STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 21 16:47 EST 2020. Contains 331114 sequences. (Running on oeis4.)