The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A127216 a(n) = 2^n*tetranacci(n) or (2^n)*A001648(n). 10
2, 12, 56, 240, 832, 3264, 12672, 48896, 187904, 724992, 2795520, 10776576, 41541632, 160153600, 617414656, 2380201984, 9175957504, 35374497792, 136373075968, 525735034880, 2026773676032, 7813464064000, 30121872326656, 116123550875648, 447670682386432 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = Trace of matrix [({{2,2,2,2},{2,0,0,0},{0,2,0,0),{0,0,2,0}})^n] a(n) = 2^n Trace of matrix [({{1,1,1,1},{1,0,0,0},{0,1,0,0},{0,0,1,0})^n].
From Colin Barker, Sep 02 2013: (Start)
a(n) = 2*a(n-1) + 4*a(n-2) + 8*a(n-3) + 16*a(n-4).
G.f.: -2*x*(32*x^3+12*x^2+4*x+1) / (16*x^4+8*x^3+4*x^2+2*x-1). (End)
EXAMPLE
a(8) = (2^8) * A001648(8) = 256 * 191 = 48896. - Indranil Ghosh, Feb 09 2017
MATHEMATICA
Table[Tr[MatrixPower[2*{{1, 1, 1, 1}, {1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}}, x]], {x, 1, 20}]
LinearRecurrence[{2, 4, 8, 16}, {2, 12, 56, 240}, 50] (* G. C. Greubel, Dec 19 2017 *)
PROG
(PARI) x='x+O('x^30); Vec(-2*x*(32*x^3+12*x^2+4*x+1)/(16*x^4 +8*x^3 +4*x^2 +2*x -1)) \\ G. C. Greubel, Dec 19 2017
(Magma) I:=[2, 12, 56, 240]; [n le 4 select I[n] else 2*Self(n-1) + 4*Self(n-2) + 8*Self(n-3) + 16*Self(n-4): n in [1..30]]; // G. C. Greubel, Dec 19 2017
CROSSREFS
Sequence in context: A124723 A122229 A285146 * A006659 A194771 A127221
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Jan 09 2007
EXTENSIONS
More terms from Colin Barker, Sep 02 2013
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 May 23 04:41 EDT 2024. Contains 372758 sequences. (Running on oeis4.)