cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A164096 Partial sums of A164095.

Original entry on oeis.org

5, 11, 21, 33, 53, 77, 117, 165, 245, 341, 501, 693, 1013, 1397, 2037, 2805, 4085, 5621, 8181, 11253, 16373, 22517, 32757, 45045, 65525, 90101, 131061, 180213, 262133, 360437, 524277, 720885, 1048565, 1441781, 2097141, 2883573, 4194293, 5767157
Offset: 1

Views

Author

Klaus Brockhaus, Aug 10 2009

Keywords

Crossrefs

Cf. A164095.

Programs

  • Magma
    T:=[ n le 2 select n+4 else 2*Self(n-2): n in [1..38] ]; [ n eq 1 select T[1] else Self(n-1)+T[n]: n in [1..#T]];

Formula

a(n) = 2*a(n-2)+11 for n > 2; a(1) = 5, a(2) = 11.
a(n) = (27-5*(-1)^n)*2^(1/4*(2*n-1+(-1)^n))/2-11.
G.f.: x*(5+6*x)/(1-x-2*x^2+2*x^3).