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.

A164094 a(n) = 3*2^n + 2.

Original entry on oeis.org

5, 8, 14, 26, 50, 98, 194, 386, 770, 1538, 3074, 6146, 12290, 24578, 49154, 98306, 196610, 393218, 786434, 1572866, 3145730, 6291458, 12582914, 25165826, 50331650, 100663298, 201326594, 402653186, 805306370, 1610612738, 3221225474
Offset: 0

Views

Author

Vincenzo Librandi, Aug 10 2009

Keywords

Crossrefs

Cf. A007283.

Programs

  • Mathematica
    #+2&/@(3 2^Range[0,30])  (* Harvey P. Dale, Jan 23 2011 *)
  • PARI
    a(n)= 3<Charles R Greathouse IV, Jan 11 2012

Formula

a(n) = A007283(n) + 2 = 3*a(n-1) - 2*a(n-2).
G.f.: (5-7*x)/((2*x-1)*(x-1)).

Extensions

Offset corrected by R. J. Mathar, Aug 21 2009