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”).

A066744
a(n) = either 4a(n-1)+1 or 4a(n-1)+3 depending on corresponding term of A005614, +3 for 0, +1 for 1.
1
1, 7, 29, 117, 471, 1885, 7543, 30173, 120693, 482775, 1931101, 7724405, 30897623, 123590493, 494361975, 1977447901, 7909791605, 31639166423, 126556665693, 506226662775, 2024906651101, 8099626604405, 32398506417623
OFFSET
1,2
COMMENTS
Ratio to terms of A028894 tends to 1.23459972586...
MATHEMATICA
f[1]={0}; f[2]={1}; f[n_] := f[n]=Join[f[n-1], f[n-2]]; a[1]=1; a[n_] := a[n]=4a[n-1]+3-2f[9][[n]]; a/@Range[1, 30]
CROSSREFS
Sequence in context: A037094 A118171 A072261 * A037576 A327587 A055427
KEYWORD
nonn
AUTHOR
John McNamara, Jan 16 2002
STATUS
approved