|
|
A037703
|
|
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0,2.
|
|
1
|
|
|
1, 8, 40, 202, 1011, 5058, 25290, 126452, 632261, 3161308, 15806540, 79032702, 395163511, 1975817558, 9879087790, 49395438952, 246977194761, 1234885973808, 6174429869040, 30872149345202, 154360746726011, 771803733630058
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(1+3*x+2*x^3) ) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 13 2015
|
|
MATHEMATICA
|
nn=30; With[{c=PadRight[{}, nn, {1, 3, 0, 2}]}, Table[FromDigits[Take[c, n], 5], {n, nn}]] (* Harvey P. Dale, Feb 16 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|