login
A037709
Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0.
0
1, 7, 30, 120, 481, 1927, 7710, 30840, 123361, 493447, 1973790, 7895160, 31580641, 126322567, 505290270, 2021161080, 8084644321, 32338577287, 129354309150, 517417236600, 2069668946401, 8278675785607, 33114703142430, 132458812569720, 529835250278881, 2119341001115527
OFFSET
1,2
FORMULA
G.f.: x*(1+2*x) / ( (x-1)*(4*x-1)*(x^2+1) ). - R. J. Mathar, Oct 13 2015
a(n) ~ (8/17)*4^n = (8/17)*A000302(n). - Stefano Spezia, Oct 16 2023
MATHEMATICA
LinearRecurrence[{5, -5, 5, -4}, {1, 7, 30, 120}, 30] (* Stefano Spezia, Oct 16 2023 *)
CROSSREFS
Sequence in context: A269084 A055269 A026631 * A378502 A037611 A171472
KEYWORD
nonn,base,easy
EXTENSIONS
a(24)-a(26) from Stefano Spezia, Oct 16 2023
STATUS
approved