cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A095866 Largest n-digit number - largest n-digit triangular number.

Original entry on oeis.org

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

Views

Author

Ray Chandler, Jun 28 2004

Keywords

Crossrefs

Programs

  • 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 *)

Formula

a(n) = 10^n - 1 - A095864(n).