login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A171590
a(n) = 1+4^(n+1)-4*(-2)^n.
1
1, 25, 49, 289, 961, 4225, 16129, 66049, 261121, 1050625, 4190209, 16785409, 67092481, 268468225, 1073676289, 4295098369, 17179607041, 68720001025, 274876858369, 1099513724929, 4398042316801, 17592194433025, 70368727400449
OFFSET
0,2
FORMULA
a(n) = A105951(2n+1) = (A014551(n+1))^2.
G.f.: (1+22*x-32*x^2)/((x-1)*(2*x+1)*(4*x-1)).
a(n) = 3*a(n-1)+6*a(n-2)-8*a(n-3).
MATHEMATICA
CoefficientList[Series[(1 + 22*x - 32*x^2)/((x - 1)*(2*x + 1)*(4*x-1)), {x, 0, 40}], x] (* Vincenzo Librandi, Dec 19 2012 *)
PROG
(Magma) I:=[1, 25, 49]; [n le 3 select I[n] else 3*Self(n-1) + 6*Self(n-2) - 8*Self(n-3): n in [1..30]]; // Vincenzo Librandi, Dec 19 2012
CROSSREFS
Sequence in context: A108604 A046950 A146641 * A322434 A056981 A132585
KEYWORD
easy,nonn
AUTHOR
R. J. Mathar, Dec 12 2009
EXTENSIONS
G.f. Adapted by Vincenzo Librandi, Dec 19 2012
STATUS
approved