OFFSET
1,1
COMMENTS
p + 2 = k^3 - 2 is form of "near(est) cube" prime smaller than cube number k^3, as k^3 - 1 = (k-1) * (k^2 + k + 1), only prime for k=2.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
p = 3371 = prime(475) = 15^3 - 4, (p, p+2) is twin prime pair tp(90), 3371 is the first term.
MATHEMATICA
Select[Range[10^4]^3 - 4, And @@ PrimeQ[# + {0, 2}] &] (* Amiram Eldar, Dec 25 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), May 29 2010
EXTENSIONS
a(13) corrected and more terms from Amiram Eldar, Dec 25 2019
STATUS
approved