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.

A176448 a(n) = 7*2^n - 2.

Original entry on oeis.org

5, 12, 26, 54, 110, 222, 446, 894, 1790, 3582, 7166, 14334, 28670, 57342, 114686, 229374, 458750, 917502, 1835006, 3670014, 7340030, 14680062, 29360126, 58720254, 117440510, 234881022, 469762046, 939524094, 1879048190, 3758096382
Offset: 0

Views

Author

Vincenzo Librandi, Apr 18 2010

Keywords

Comments

a(n) = 2*A086224(n-1) for n > 0 [Berselli - Librandi]. - Vincenzo Librandi, Aug 27 2010

Examples

			a(1) = 2*(5 + 1) = 12;
a(2) = 2*(12 + 1) = 26;
a(3) = 2*(26 + 1) = 54.
		

Programs

  • Magma
    [7*2^n-2: n in [0..100]]
  • Mathematica
    Table[7*2^n-2,{n,0,30}] (* or *) LinearRecurrence[{3,-2},{5,12},30] (* Harvey P. Dale, May 21 2017 *)

Formula

a(n) = 2*(a(n-1) + 1) with a(0)=5.
From R. J. Mathar, May 02 2010: (Start)
a(n)= 3*a(n-1) - 2*a(n-2).
G.f.: ( 5-3*x ) / ( (2*x-1)*(x-1) ). (End)
a(n) = A174317(n+3). - R. J. Mathar, Feb 21 2016