OFFSET
1,1
COMMENTS
See A178506.
Necessarily n odd multiple of 3, LSD of n is e = 1, 5 or 7.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
p = 15^3 - 4 = 3371 = prime(475), p+2 = prime(476), 15 is first term.
p = 201^3 - 4 = 8120597 = prime(547310), p+2 = prime(547311), 201 is 2nd term.
p = 15915^3 - 4 = 4031066185871 = prime(i), i = 144036640497, p+2 = prime(i+1), 15915 is another term.
MATHEMATICA
Select[Range[12000], AllTrue[#^3-{4, 2}, PrimeQ]&] (* Harvey P. Dale, Jul 28 2024 *)
PROG
(PARI) is(n) = isprime(n^3-2) && isprime(n^3-4) \\ Michel Marcus, Jul 22 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), May 29 2010
EXTENSIONS
Term 6045 added by Michel Marcus, Jul 22 2013
STATUS
approved