OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,1,-10).
FORMULA
G.f.: x*(1+3*x) / ( (x-1)*(10*x-1)*(1+x) ). - R. J. Mathar, Aug 12 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 3}]], {n, 20}] (* Harvey P. Dale, Feb 11 2015 *)
PROG
(PARI) Vec(x*(1+3*x)/((x-1)*(10*x-1)*(1+x)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Feb 11 2015
STATUS
approved