login
A037565
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,2,1.
0
2, 18, 145, 1162, 9298, 74385, 595082, 4760658, 38085265, 304682122, 2437456978, 19499655825, 155997246602, 1247977972818, 9983823782545, 79870590260362, 638964722082898, 5111717776663185
OFFSET
1,1
FORMULA
G.f.: x*(2+2*x+x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 2, 1}], 8], {n, 20}] (* Harvey P. Dale, Sep 08 2020 *)
CROSSREFS
Sequence in context: A052640 A290215 A208654 * A329170 A125835 A356623
KEYWORD
nonn,base,easy
STATUS
approved