login
Numbers m such that 23 + 36*m*(m+1) is prime.
0

%I #8 May 26 2019 01:54:00

%S 0,2,4,5,7,12,14,15,27,30,32,34,40,47,49,50,57,60,62,67,72,75,82,85,

%T 89,95,97,102,104,105,109,110,119,135,140,162,175,177,180,182,187,189,

%U 194,200,214,219,222,225,235,239,242,244,247,254,257,259,265,277,279,280

%N Numbers m such that 23 + 36*m*(m+1) is prime.

%C All terms of A121250 (numbers n such that n^2+14 is prime) are of the form n = 3+6*m, m = 0, 1, .... Hence n^2 + 14 = 23 + 36*m(m+1): these values of m are in this sequence.

%t Select[Range[0,300], PrimeQ[23 + 36*#(1+# ]&]

%o (PARI) select( is_A121817(n)=isprime(23+36*(n+1)*n), [0..299]) \\ _M. F. Hasler_, May 25 2019

%Y Cf. A121250.

%K nonn

%O 1,2

%A _Zak Seidov_, Sep 09 2006

%E Edited by _M. F. Hasler_, May 25 2019