|
|
A037788
|
|
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0,1.
|
|
0
|
|
|
3, 20, 120, 721, 4329, 25976, 155856, 935137, 5610825, 33664952, 201989712, 1211938273, 7271629641, 43629777848, 261778667088, 1570672002529, 9424032015177, 56544192091064, 339265152546384, 2035590915278305
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3-x+x^2) / ( (x-1)*(6*x-1)*(x^2+1) ). - R. J. Mathar, May 01 2015
|
|
MATHEMATICA
|
CoefficientList[Series[(3 - x + x^2)/((x - 1)*(6*x - 1)*(x^2 + 1)), {x, 0, 30}], x] (* Wesley Ivan Hurt, May 03 2017 *)
Table[FromDigits[PadRight[{}, n, {3, 2, 0, 1}], 6], {n, 20}] (* Michael De Vlieger, May 03 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|