login
A037626
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,0.
0
2, 13, 65, 327, 1638, 8190, 40952, 204763, 1023815, 5119077, 25595388, 127976940, 639884702, 3199423513, 15997117565, 79985587827, 399927939138, 1999639695690, 9998198478452, 49990992392263, 249954961961315, 1249774809806577
OFFSET
1,1
FORMULA
G.f.: x*(2+3*x) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 3, 0}], 5], {n, 30}] (* or *) LinearRecurrence[ {5, 0, 1, -5}, {2, 13, 65, 327}, 30] (* Harvey P. Dale, Aug 03 2020 *)
CROSSREFS
Sequence in context: A127531 A266633 A037745 * A160459 A037752 A037640
KEYWORD
nonn,base
STATUS
approved