Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #12 Apr 13 2024 19:26:34
%S 2,3,5,6,7,8,10,11,12,13,17,20,21,33,35,38,43,45,46,50,52,53,57,61,63,
%T 71,73,75,76,78,80,82,90,91,96,97,98,101,102,105,106,112,115,116,122,
%U 127,132,137,146,152,155,157,162,172,175,176,181,183,192,200,201,203
%N Numbers k such that k^3 - (k-1)^2 is prime.
%t Select[Range[250],PrimeQ[#^3-(#-1)^2]&] (* _Harvey P. Dale_, Mar 21 2011 *)
%o (PARI) is(n)=isprime(n^3-(n-1)^2) \\ _Charles R Greathouse IV_, Jun 13 2017
%K easy,nonn
%O 1,1
%A _Jason Earls_, May 22 2004