%I #29 Sep 08 2022 08:45:00
%S 2,3,4,12,34,40,46,70,82,102,118,119,192,202,300,434,508,515,516,612,
%T 690,718,795,846,1112,1786,3884,5112,5136,8628,10218,10222,16415,
%U 38796,40642,47318,48134,48634,50778,60134,60282,88088,240778,314228,331154,383172
%N Numbers k such that 267*2^k + 1 is prime.
%H Jeppe Stig Nielsen, <a href="/A053350/b053350.txt">Table of n, a(n) for n = 1..54</a>
%H Ray Ballinger and Wilfrid Keller, <a href="http://www.prothsearch.com/riesel1.html">List of primes k.2^n + 1 for k < 300</a>
%H Wilfrid Keller, <a href="http://www.prothsearch.com/riesel2.html">List of primes k.2^n - 1 for k < 300</a>
%H <a href="/index/Pri#riesel">Index entries for sequences of n such that k*2^n-1 (or k*2^n+1) is prime</a>
%t Select[Range[5*10^3], PrimeQ[267*2^# + 1] &] (* _G. C. Greubel_, May 24 2018 *)
%o (PARI) is(n)=ispseudoprime(267*2^n+1) \\ _Charles R Greathouse IV_, Jun 13 2017
%o (Magma) [n: n in [1..300] | IsPrime(267*2^n+1)]; // _G. C. Greubel_, May 24 2018
%K hard,nonn
%O 1,1
%A _N. J. A. Sloane_, Dec 29 1999
%E a(43)-a(51) from the Ray Ballinger and Wilfrid Keller link by _Robert Price_, Dec 20 2018
%E Terms moved from Data section to b-file, and more terms added to b-file by _Jeppe Stig Nielsen_, Mar 12 2020