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.

A154710 Cubes such that cube-+3 are primes.

Original entry on oeis.org

8, 64, 4096, 17576, 405224, 1191016, 1906624, 6229504, 6859000, 11239424, 21952000, 68921000, 103823000, 122023936, 254840104, 267089984, 445943744, 449455096, 681472000, 719323136, 1427628376, 1710777536, 2887553024
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    lst={};Do[p=n^3;If[PrimeQ[p-3]&&PrimeQ[p+3],AppendTo[lst,p]],{n,2,8!,2}];lst
    Select[Range[1500]^3,AllTrue[#+{3,-3},PrimeQ]&] (* Harvey P. Dale, Nov 23 2022 *)