login
A037501
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2.
2
1, 8, 66, 529, 4232, 33858, 270865, 2166920, 17335362, 138682897, 1109463176, 8875705410, 71005643281, 568045146248, 4544361169986, 36354889359889, 290839114879112, 2326712919032898
OFFSET
1,2
FORMULA
G.f.: x*(1+2*x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 0, 2}], 8], {n, 20}] (* or *) LinearRecurrence[{8, 0, 1, -8}, {1, 8, 66, 529}, 20] (* Harvey P. Dale, Oct 13 2024 *)
CROSSREFS
Sequence in context: A218927 A303485 A121778 * A037678 A190331 A162758
KEYWORD
nonn,base,easy
STATUS
approved