OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,-17,10).
FORMULA
a(n) = (25*5^n-16*2^n+3)/12. - Bruno Berselli, Feb 09 2011
a(n) = [(5^0-2^0) + (5^1-2^1) + ... + (5^n-2^n)]/3. - r22lou(AT)cox.net, Nov 14 2005
a(0)=1, a(n)=5*a(n-1)+2^(n+1)-1. - Vincenzo Librandi, Feb 07 2011
MAPLE
a:=n->sum((5^(n-j)-2^(n-j))/3, j=0..n): seq(a(n), n=1..20); # Zerinvary Lajos, Jan 04 2007
MATHEMATICA
Join[{a=1, b=8}, Table[c=7*b-10*a+1; a=b; b=c, {n, 60}]] (* Vladimir Joseph Stephan Orlovsky, Feb 06 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 11 1999
EXTENSIONS
More terms from Wesley Ivan Hurt, May 05 2014
STATUS
approved