|
|
A037533
|
|
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,2.
|
|
1
|
|
|
1, 9, 74, 593, 4745, 37962, 303697, 2429577, 19436618, 155492945, 1243943561, 9951548490, 79612387921, 636899103369, 5095192826954, 40761542615633, 326092340925065, 2608738727400522, 20869909819204177, 166959278553633417, 1335674228429067338
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+x+2*x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 29 2015
|
|
MATHEMATICA
|
Module[{nn=20, b8}, b8=PadRight[{}, nn, {1, 1, 2}]; Table[FromDigits[Take[ b8, n], 8], {n, nn}]] (* Harvey P. Dale, Jan 15 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Corrected by Franklin T. Adams-Watters, Oct 25 2006
|
|
STATUS
|
approved
|
|
|
|