|
|
A037695
|
|
Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,3,0.
|
|
0
|
|
|
1, 6, 27, 108, 433, 1734, 6939, 27756, 111025, 444102, 1776411, 7105644, 28422577, 113690310, 454761243, 1819044972, 7276179889, 29104719558, 116418878235, 465675512940, 1862702051761, 7450808207046, 29803232828187
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(1+2*x+3*x^2) ) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
|
|
MATHEMATICA
|
nn=30; With[{dgs=PadRight[{}, nn, {1, 2, 3, 0}]}, Table[FromDigits[ Take[ dgs, n], 4], {n, nn}]] (* Harvey P. Dale, Jun 13 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|