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.

A176870 Prime numbers p such that p-LargestCube is prime, (LargestCube <= p).

Original entry on oeis.org

3, 11, 13, 19, 29, 67, 71, 83, 101, 107, 127, 223, 227, 229, 233, 239, 257, 263, 269, 277, 283, 313, 317, 523, 541, 571, 601, 613, 619, 643, 661, 691, 709, 1013, 1019, 1031, 1061, 1097, 1103, 1109, 1151, 1163, 1181, 1193, 1223, 1229, 1277, 1283, 1307, 1733
Offset: 1

Views

Author

Keywords

Comments

3-1^3=2, 11-2^3=3, 13-2^3=5, 29-3^3=2,..

Crossrefs

Programs

  • Mathematica
    lst={};Do[p=n-Floor[n^(1/3)]^3;If[PrimeQ[p]&&PrimeQ[n],AppendTo[lst,n]],{n,7!}];lst
    Select[Prime[Range[300]],PrimeQ[#-Floor[Surd[#,3]]^3]&] (* Harvey P. Dale, May 19 2019 *)