Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A037716
Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 2,0,1,3.
0
2, 8, 33, 135, 542, 2168, 8673, 34695, 138782, 555128, 2220513, 8882055, 35528222, 142112888, 568451553, 2273806215, 9095224862, 36380899448, 145523597793, 582094391175, 2328377564702, 9313510258808, 37254041035233
OFFSET
1,1
FORMULA
G.f.: ( x*(2-2*x+3*x^2) ) / ( (x-1)*(4*x-1)*(x^2+1) ). - R. J. Mathar, Oct 14 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 0, 1, 3}], 4], {n, 30}] (* or *) LinearRecurrence[ {5, -5, 5, -4}, {2, 8, 33, 135}, 30] (* Harvey P. Dale, Mar 02 2018 *)
CROSSREFS
Sequence in context: A134708 A294530 A037513 * A373752 A279014 A099015
KEYWORD
nonn,base
STATUS
approved