OFFSET
1,2
COMMENTS
Probably finite. No more terms < 10^9.
Asked by an anonymous person on Wikipedia, December 31 2021.
No more terms < 10^11. - Martin Ehrenstein, Jan 15 2022
LINKS
Wikipedia:Reference desk/Mathematics, Original question on Wikipedia December 31 2021
EXAMPLE
5 is NOT a term because 5 is not twice a square and it can be written as 2*1+3, where 1 is a square and 3 is an odd prime. But 6 is a term because it cannot be written in this way.
MATHEMATICA
Select[Select[Range@2000, !IntegerQ[Sqrt[#/2]]&], (s=#; Length@Select[Flatten[y/.Solve[2x^2+#*y==s&&x>0&&y>0, {x, y}, Integers]&/@{1, 2}], PrimeQ@#&&#>2&])==0&] (* Giorgos Kalogeropoulos, Jan 03 2022 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jud McCranie, Jan 02 2022
STATUS
approved