login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A121720 a(n)= 4*a(n-2) -2*a(n-4). 0
0, 1, 1, 3, 4, 10, 14, 34, 48, 116, 164, 396, 560, 1352, 1912, 4616, 6528, 15760, 22288, 53808, 76096, 183712, 259808, 627232, 887040, 2141504, 3028544, 7311552, 10340096, 24963200 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

FORMULA

a(n) = A007068(n-2), n>2.

G.f.: -x^2*(-1-x+x^2)/(1-4*x^2+2*x^4). [Oct 14 2009]

a(n)=(1/4)*(2-sqrt(2))^(1/2*n)*(2-sqrt(2))^(1/4*(-1)^n)*(2-sqrt(2))^(-1/4)*(1-sqrt(2)-(-1)^n)+(1/4)*(2 +sqrt(2))^(-1/4)*(2+sqrt(2))^(1/2*n)*(2+sqrt(2))^(1/4*(-1)^n)*(1+sqrt(2)-(-1)^n), with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Nov 02 2009]

MATHEMATICA

f[n_] := 1 + Mod[n, 2] M[n_] := {{0, 1}, {f[n], 1}} v[1] = {0, 1} v[n_] := v[n] = M[n].v[n - 1] a = Table[v[n][[1]], {n, 1, 30}]

CROSSREFS

Cf A002530, A048788.

Sequence in context: A025084 A134512 A106523 * A007068 A056515 A056516

Adjacent sequences:  A121717 A121718 A121719 * A121721 A121722 A121723

KEYWORD

nonn,easy

AUTHOR

Roger Bagula and Gary Adamson (rlbagulatftn(AT)yahoo.com), Sep 07 2006

EXTENSIONS

Definition replaced by recurrence - The Assoc. Editors of the OEIS, Oct 14 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:50 EST 2012. Contains 206050 sequences.