OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 10^n - 1 - A095864(n).
MATHEMATICA
lndt[n_]:=Module[{c=Floor[(Sqrt[8*10^n+1]-1)/2]}, (c(c+1))/2]; Join[{3}, Table[ 10^n-1-lndt[n], {n, 2, 30}]] (* Harvey P. Dale, May 16 2017 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Ray Chandler, Jun 28 2004
STATUS
approved