login
Numbers n such that n^3 + (n-1)^2 is a prime.
0

%I #6 Jul 25 2015 00:46:19

%S 3,4,6,7,13,15,18,21,27,36,37,39,40,49,51,66,67,72,73,75,81,88,90,91,

%T 97,106,108,109,114,115,120,121,123,133,135,136,138,145,147,153,156,

%U 157,159,163,168,169,186,187,201,202,208,214,222,226,231,232,237,238,249

%N Numbers n such that n^3 + (n-1)^2 is a prime.

%e 3^21 + 2^20 = 10461401779, which is prime.

%t Select[ Range[ 250], PrimeQ[ #^3 + (# - 1)^2] &] (* _Robert G. Wilson v_, Jun 17 2004 *)

%K easy,nonn

%O 1,1

%A Herman H. Rosenfeld (herm3(AT)pacbell.net), May 17 2004

%E More terms from _Robert G. Wilson v_, Jun 17 2004