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.

A170938 4^n+2^n+2.

Original entry on oeis.org

4, 8, 22, 74, 274, 1058, 4162, 16514, 65794, 262658, 1049602, 4196354, 16781314, 67117058, 268451842, 1073774594, 4295032834, 17180000258, 68719738882, 274878431234, 1099512676354, 4398048608258, 17592190238722, 70368752566274, 281474993487874, 1125899940397058
Offset: 0

Views

Author

N. J. A. Sloane, Feb 13 2010

Keywords

Programs

  • Mathematica
    Table[4^n+2^n+2,{n,0,30}] (* or *) LinearRecurrence[{7,-14,8},{4,8,22},30] (* Harvey P. Dale, Jan 10 2013 *)

Formula

a(n)= 7*a(n-1) -14*a(n-2) +8*a(n-3). G.f.: 2*(2-10*x+11*x^2)/((1-x) * (2*x-1) * (4*x-1)). [From R. J. Mathar, Feb 15 2010]