[go: up one dir, main page]

login
A037759
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1,2.
0
3, 15, 76, 382, 1913, 9565, 47826, 239132, 1195663, 5978315, 29891576, 149457882, 747289413, 3736447065, 18682235326, 93411176632, 467055883163, 2335279415815, 11676397079076, 58381985395382, 291909926976913
OFFSET
1,1
FORMULA
G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 04 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 1, 2}], 5], {n, 30}] (* or *) LinearRecurrence[ {5, 0, 0, 1, -5}, {3, 15, 76, 382, 1913}, 30] (* Harvey P. Dale, May 08 2018 *)
CROSSREFS
Sequence in context: A240941 A047015 A322186 * A037647 A019477 A019478
KEYWORD
nonn,base,easy
STATUS
approved