|
|
A037596
|
|
Numbers written in base 4 whose digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
|
|
0
|
|
|
1, 10, 103, 1031, 10310, 103103, 1031031, 10310310, 103103103, 1031031031, 10310310310, 103103103103, 1031031031031, 10310310310310, 103103103103103, 1031031031031031
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
Table of n, a(n) for n=1..16.
Index entries for linear recurrences with constant coefficients, signature (10,0,1,-10).
|
|
FORMULA
|
G.f.: x*(1+3*x^2) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
|
|
MATHEMATICA
|
With[{c=PadRight[{}, 21, {1, 0, 3}]}, Table[FromDigits[Take[c, n]], {n, 20}]] (* Harvey P. Dale, Dec 29 2011 *)
|
|
CROSSREFS
|
Sequence in context: A331475 A158240 A087393 * A037687 A015588 A162667
Adjacent sequences: A037593 A037594 A037595 * A037597 A037598 A037599
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
Clark Kimberling
|
|
STATUS
|
approved
|
|
|
|