|
|
A037776
|
|
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2.
|
|
0
|
|
|
3, 25, 200, 1602, 12819, 102553, 820424, 6563394, 52507155, 420057241, 3360457928, 26883663426, 215069307411, 1720554459289, 13764435674312, 110115485394498, 880923883155987, 7047391065247897
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3-2*x+2*x^2) / ( (x-1)*(8*x-1)*(x^2+1) ). - R. J. Mathar, May 02 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 1, 0, 2}], 8], {n, 20}] (* or *) LinearRecurrence[{9, -9, 9, -8}, {3, 25, 200, 1602}, 20] (* Harvey P. Dale, Jul 17 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|