login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A095866
Largest n-digit number - largest n-digit triangular number.
7
3, 8, 9, 129, 318, 1008, 2843, 8988, 38439, 121089, 42708, 88208, 2034819, 1749819, 2235879, 104271309, 447194784, 1234742858, 2234186964, 3266133123, 22172578524, 114481278033, 204796672749, 841526085621, 355055477499
OFFSET
1,1
LINKS
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