login
A037734
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,0,3.
0
2, 17, 136, 1091, 8730, 69841, 558728, 4469827, 35758618, 286068945, 2288551560, 18308412483, 146467299866, 1171738398929, 9373907191432, 74991257531459, 599930060251674, 4799440482013393
OFFSET
1,1
FORMULA
G.f.: ( x*(2+x+3*x^3) ) / ( (x-1)*(8*x-1)*(1+x)*(1+x^2) ). - R. J. Mathar, Oct 14 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 1, 0, 3}], 8], {n, 20}] (* or *) LinearRecurrence[{8, 0, 0, 1, -8}, {2, 17, 136, 1091, 8730}, 20] (* Harvey P. Dale, Mar 20 2026 *)
CROSSREFS
Sequence in context: A261120 A077243 A037525 * A201782 A132433 A037557
KEYWORD
nonn,base
STATUS
approved