OFFSET
1,2
FORMULA
a(n) = 10*a(n-1) +a(n-3) -10*a(n-4). G.f.: x*(1+x^2)/((x-1) * (10*x-1) * (1+x+x^2)). - R. J. Mathar, Oct 05 2009
a(n) = floor((101/999)*10^n). - Tani Akinari, Jul 22 2015
MATHEMATICA
nn=20; With[{c=PadRight[{}, nn, {1, 0, 1}]}, Table[FromDigits[ Take[ c, n]], {n, nn}]] (* Harvey P. Dale, Dec 30 2012 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Dec 30 2012
STATUS
approved