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.

A193018 The largest integer that cannot be written as the sum of squares of integers larger than n.

Original entry on oeis.org

23, 87, 119, 201, 312, 376, 455, 616, 760, 840, 1055, 1136, 1248, 1472, 1719, 1959, 2064, 2472, 2764, 2976, 3264, 3407, 3584, 4032, 4336, 4848, 4992, 5088, 5523, 5900, 6112, 6624, 7360, 7680, 7680, 8448, 8960, 9152, 9856, 10208, 11136, 11904, 12256, 12256
Offset: 2

Views

Author

Remmert Borst, Jul 14 2011

Keywords

Comments

Numbers can be used more than once.

Crossrefs

Programs

  • Mathematica
    a[n_] := Block[{k = 4, f}, While[ (n+k)^2 <= (f = FrobeniusNumber[ Range[ n, n+k]^2]), k++]; f]; a /@ Range[2, 45] (* Giovanni Resta, Jun 13 2016 *)

Formula

a(n) < n^4 + 6n^3 + 11n^2 + 6n by Sylvester's theorem. [Charles R Greathouse IV, Jul 14 2011]
a(n) = o(n^{2+e}) for all e > 0, according to Dutch and Rickett. [Jeffrey Shallit, Mar 17 2021]
a(n) = O(n^2), according to Moscariello. [Jeffrey Shallit, Mar 17 2021]