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.

A165290 Numbers which cannot be represented as a cube - nearest square (cube >= square).

Original entry on oeis.org

1, 3, 5, 6, 8, 9, 10, 12, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 27, 29, 30, 31, 32, 33, 34, 36, 37, 38, 41, 42, 43, 44, 46, 50, 51, 52, 54, 57, 58, 59, 61, 62, 64, 65, 66, 68, 69, 70, 71, 72, 73, 75, 77, 78, 80, 82, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
Offset: 1

Views

Author

Keywords

Comments

Complement of A165288.

Crossrefs

Programs

  • Mathematica
    lst={}; Do[a=n^3-Floor[Sqrt[n^3]]^2; If[a<=508,AppendTo[lst,a]],{n,2*8!}]; lst=Take[Union@lst,90]; lst1={}; Do[AppendTo[lst1,n],{n,508}]; lst1; Complement[lst1,lst]