OFFSET
0,1
LINKS
FORMULA
a(n) = 2*(a(n-1)+1) with a(0) = 7.
a(n) = 3*a(n-1) -2*a(n-2). G.f.: (7-5*x) / ((2*x-1)*(x-1)). - R. J. Mathar, May 02 2010
EXAMPLE
For n = 1, a(1) = 2*(7+1) = 16;
for n = 2, a(2) = 2*(16+1) = 34;
for n = 3, a(3) = 2*(34+1) = 70.
MAPLE
MATHEMATICA
Table[9*2^n-2, {n, 0, 100}] (* Wesley Ivan Hurt, Nov 08 2013 *)
LinearRecurrence[{3, -2}, {7, 16}, 40] (* Harvey P. Dale, Jan 12 2024 *)
PROG
(Magma) [9*2^n-2: n in [0..100]]
(PARI) apply( A176449(n)=9<<n-2, [0..99]) \\ M. F. Hasler, Dec 11 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 18 2010
EXTENSIONS
Edited by M. F. Hasler, Dec 11 2018
STATUS
approved