OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,0,1,-10).
FORMULA
G.f.: x*(3+x) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Aug 04 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1, 0}]], {n, 30}] (* or *) LinearRecurrence[ {10, 0, 1, -10}, {3, 31, 310, 3103}, 30] (* Harvey P. Dale, Oct 11 2020 *)
PROG
(PARI) Vec(x*(3+x)/((x-1)*(10*x-1)*(1+x+x^2)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved