OFFSET
1,1
COMMENTS
k is always divisible by 3. For the 5 pairs listed, k = 6, 21, 99, 120 and 249 (see A151612).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
6^3 = 216; 216*2 = 432; both 431 and 433 are prime.
MAPLE
isA001359 := proc(n) RETURN(isprime(n) and isprime(n+2)) ; end: for n from 1 to 1000 do twon3 := 2*n^3 ; if isA001359(twon3-1) then printf("%d, %d, ", twon3-1, twon3+1) ; fi; od: # R. J. Mathar, May 29 2009
MATHEMATICA
s = Select[54*Range[300]^3, And @@ PrimeQ[# + {-1, 1}] &]; Flatten @
Transpose @ {s - 1, s + 1} (* Amiram Eldar, Dec 28 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Howard Berman (howard_berman(AT)hotmail.com), May 16 2009
EXTENSIONS
More terms from R. J. Mathar, May 29 2009
More terms from Amiram Eldar, Dec 28 2019
STATUS
approved