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!)
A159334 Transform of A056594 by the T_{1,1} transformation (see link) 1
2, 4, 9, 23, 55, 126, 291, 678, 1578, 3667, 8523, 19815, 46066, 107089, 248950, 578740, 1345409, 3127695, 7271007, 16903042, 39294807, 91349342, 212361454, 493680487, 1147667895, 2668004163, 6202357186, 14418731129, 33519483178 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
O.g.f.: -(2-2*x+3*x^2+x^4)/((x^2+1)*(x^3-2*x^2+3*x-1)).
for n>=0 a(n+5)=3*a(n+4)-3*a(n+3)+4*a(n+2)-2*a(n+1)+a(n)
MATHEMATICA
Join[{2, 4, 9, 23, 55, 126}, LinearRecurrence[{3, -3, 4, -2, 1}, {291, 678, 1578, 3667, 8523}, 45]] (* G. C. Greubel, Jun 25 2018 *)
PROG
(PARI) x='x+O('x^50); Vec(-(2-2*x+3*x^2+x^4)/((x^2+1)*(x^3-2*x^2+3*x-1))) \\ G. C. Greubel, Jun 25 2018
(Magma) I:=[291, 678, 1578, 3667, 8523]; [2, 4, 9, 23, 55, 126] cat [n le 5 select I[n] else 3*Self(n-1) - 3*Self(n-2) + 4*Self(n-3) -2*Self(n-4) +Self(n-5): n in [1..50]]; // G. C. Greubel, Jun 25 2018
CROSSREFS
Sequence in context: A292790 A278691 A159329 * A159330 A159331 A135346
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Apr 10 2009
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 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)