OFFSET
1,1
COMMENTS
(a(n)-2^(n-1))/2 = A006516(n+1).
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 2^(2n+2)-3*2^(n-1).
a(n+1) = 4*a(n)+3*2^n.
MATHEMATICA
Table[2^(2n+2)-3*2^(n-1), {n, 30}] (* or *) nxt[{n_, a_}]:={n+1, 4a+3*2^n}; NestList[nxt, {1, 13}, 30][[All, 2]] (* Harvey P. Dale, Nov 15 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Marco Matosic, Jul 27 2003
EXTENSIONS
Edited and extended by David Wasserman, Feb 17 2005
STATUS
approved