login
A037498
Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2.
2
1, 5, 27, 136, 680, 3402, 17011, 85055, 425277, 2126386, 10631930, 53159652, 265798261, 1328991305, 6644956527, 33224782636, 166123913180, 830619565902, 4153097829511, 20765489147555, 103827445737777, 519137228688886
OFFSET
1,2
FORMULA
G.f.: x*(1+2*x^2) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 26 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 0, 2}], 5], {n, 30}] (* Harvey P. Dale, May 09 2018 *)
CROSSREFS
Sequence in context: A249995 A009027 A275540 * A198771 A084177 A037675
KEYWORD
nonn,base,easy
STATUS
approved