|
|
A037702
|
|
Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0,2.
|
|
0
|
|
|
1, 7, 28, 114, 457, 1831, 7324, 29298, 117193, 468775, 1875100, 7500402, 30001609, 120006439, 480025756, 1920103026, 7680412105, 30721648423, 122886593692, 491546374770, 1966185499081, 7864741996327, 31458967985308
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(1+3*x+2*x^3) ) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 13 2015
|
|
MATHEMATICA
|
Module[{nn=30, d}, d=PadRight[{}, nn, {1, 3, 0, 2}]; Table[FromDigits[ Take[ d, n], 4], {n, nn}]] (* Harvey P. Dale, Feb 11 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|