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.

A119273 Absolute value of the difference between largest square and largest cube each with n decimal digits.

Original entry on oeis.org

1, 17, 232, 540, 2520, 27702, 59869, 82657, 2947885, 5851737, 37568808, 297970002, 478867545, 5721476626, 29961646177, 65107456694, 570931518444, 2997997000002, 9607464857096, 53858918990529, 299956723113202, 1253472906066265, 2171966135005184
Offset: 1

Views

Author

Zak Seidov, May 12 2006

Keywords

Comments

a(n) = |A061433(n) - A061435(n)|, where A061433 and A061435 are the largest n-digit square and cube.

Crossrefs

Programs

  • Mathematica
    Table[Abs[Floor[Sqrt[10^n-1]]^2-Floor[Surd[10^n-1,3]]^3],{n,30}] (* Harvey P. Dale, Apr 24 2022 *)

Formula

a(n) = (ceiling(10^(n/2)) - 1)^2 - (ceiling(10^(n/3)) - 1)^3.

Extensions

Corrected, extended, and definition clarified by Harvey P. Dale, Apr 24 2022