OFFSET
0,2
LINKS
FORMULA
G.f.: (1-2*x^2)/(1-2*x-6*x^2).
a(n) = Sum_{k=0..n} A122950(n,k)*2^k .
a(n) = ((7+2*sqrt(7))/21)*(1+sqrt(7))^n+((7-2*sqrt(7))/21)*(1-sqrt(7))^n for n=>1. [Richard Choulet, Nov 19 2008]
MAPLE
A133592 := proc(n)
option remember;
if n <=1 then
n+1;
elif n = 2 then
8;
else
2*procname(n-1)+6*procname(n-2) ;
fi ;
end proc: # R. J. Mathar, Jul 15 2017
MATHEMATICA
Join[{1}, LinearRecurrence[{2, 6}, {2, 8}, 24]] (* Jean-François Alcover, Jul 01 2023 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Dec 31 2007
EXTENSIONS
a(16) corrected by R. J. Mathar, Jun 20 2015
STATUS
approved