|
|
A037557
|
|
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,1.
|
|
0
|
|
|
2, 17, 137, 1098, 8785, 70281, 562250, 4498001, 35984009, 287872074, 2302976593, 18423812745, 147390501962, 1179124015697, 9432992125577, 75463937004618, 603711496036945, 4829691968295561
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(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, 1, 1}], 8], {n, 20}] (* or *) LinearRecurrence[ {8, 0, 1, -8}, {2, 17, 137, 1098}, 20] (* Harvey P. Dale, Apr 15 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|