login
A037731
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,0,3.
0
2, 11, 55, 278, 1392, 6961, 34805, 174028, 870142, 4350711, 21753555, 108767778, 543838892, 2719194461, 13595972305, 67979861528, 339899307642, 1699496538211, 8497482691055, 42487413455278, 212437067276392, 1062185336381961
OFFSET
1,1
FORMULA
G.f.: ( x*(2+x+3*x^3) ) / ( (x-1)*(5*x-1)*(1+x)*(1+x^2) ). - R. J. Mathar, Oct 14 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 1, 0, 3}], 5], {n, 30}] (* or *) LinearRecurrence[ {5, 0, 0, 1, -5}, {2, 11, 55, 278, 1392}, 30] (* Harvey P. Dale, Sep 11 2019 *)
CROSSREFS
Sequence in context: A327215 A307444 A037522 * A221019 A371439 A115205
KEYWORD
nonn,base
STATUS
approved