Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A037773
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2.
0
3, 16, 80, 402, 2013, 10066, 50330, 251652, 1258263, 6291316, 31456580, 157282902, 786414513, 3932072566, 19660362830, 98301814152, 491509070763, 2457545353816, 12287726769080, 61438633845402, 307193169227013
OFFSET
1,1
FORMULA
G.f.: x*(3-2*x+2*x^2) / ( (x-1)*(5*x-1)*(x^2+1) ). - R. J. Mathar, May 02 2015
MATHEMATICA
With[{c=PadLeft[{}, 28, {3, 1, 0, 2}]}, Table[FromDigits[Take[c, n], 5], {n, 25}]] (* Harvey P. Dale, Oct 01 2011 *)
CROSSREFS
Sequence in context: A309915 A343117 A055842 * A037661 A372324 A290587
KEYWORD
nonn,base,easy
STATUS
approved