login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes p = x^2 + y^2 such that x - y is a cube greater than one.
2

%I #16 Apr 18 2019 15:28:28

%S 977,1049,1289,1877,2477,2609,3329,4877,5669,6089,6977,8429,9209,9749,

%T 10589,12377,12689,13649,15329,15877,16657,17477,18617,18913,19213,

%U 20773,21377,21757,22093,22433,22777,23833,23909,25229,25673,26053,26437,27509,30497

%N Primes p = x^2 + y^2 such that x - y is a cube greater than one.

%H Chai Wah Wu, <a href="/A282405/b282405.txt">Table of n, a(n) for n = 1..10000</a> (terms for n = 1..500 from Colin Barker)

%e The prime number 977 is in the sequence because 977 = 31^2 + 4^2 and 31 - 4 = 27 = 3^3.

%t cg1Q[{a_,b_}]:=Module[{d=b-a},PrimeQ[a^2+b^2]&&d>1&&IntegerQ[Surd[d,3]]]; Total[#^2]&/@Select[Subsets[Range[200],{2}],cg1Q]//Union (* _Harvey P. Dale_, Apr 18 2019 *)

%Y Cf. A002313, A282353, A282381, A282406.

%K nonn

%O 1,1

%A _Colin Barker_, Feb 14 2017