login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A170938
4^n+2^n+2.
1
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,1
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]
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 *)
CROSSREFS
Sequence in context: A284778 A057583 A129788 * A003684 A338310 A254404
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 13 2010
STATUS
approved