|
|
A037732
|
|
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,0,3.
|
|
0
|
|
|
2, 13, 78, 471, 2828, 16969, 101814, 610887, 3665324, 21991945, 131951670, 791710023, 4750260140, 28501560841, 171009365046, 1026056190279, 6156337141676, 36938022850057, 221628137100342, 1329768822602055
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(2+x+3*x^3) ) / ( (x-1)*(6*x-1)*(1+x)*(1+x^2) ). - R. J. Mathar, Oct 14 2015
|
|
MATHEMATICA
|
Module[{nn=20, pr}, pr=PadRight[{}, nn, {2, 1, 0, 3}]; Table[ FromDigits[ Take[ pr, n], 6], {n, nn}]] (* Harvey P. Dale, Jun 07 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|