login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers k such that 6^k + 7 is prime.
3

%I #26 Sep 19 2024 11:53:37

%S 1,2,3,4,6,21,24,27,30,54,70,126,369,435,612,787,1275,2155,2436,5734,

%T 6016,16107,25786,34266,38841,45834,46584

%N Numbers k such that 6^k + 7 is prime.

%t Select[Range[10000], PrimeQ[6^# + 7] &]

%o (PARI) is(n)=ispseudoprime(6^n+7) \\ _Charles R Greathouse IV_, Jun 13 2017

%Y Cf. A145106, A217352.

%Y Cf. A104115 (associated primes).

%K nonn,more,hard

%O 1,2

%A _Vincenzo Librandi_, Oct 02 2012

%E a(20)-a(21) from _Bruno Berselli_, Oct 04 2012

%E a(22)-a(23) from _Michael S. Branicky_, Apr 30 2023

%E a(24)-a(27) from _Michael S. Branicky_, Sep 19 2024