A100838
Numbers k such that k^k + 7 is prime.
Original entry on oeis.org
Cf.
A100841 (corresponding primes).
-
lst={};Do[p=n^n+7;If[PrimeQ[p],AppendTo[lst,n]],{n,2*5!}];lst (* Vladimir Joseph Stephan Orlovsky, Nov 01 2009 *)
Select[Range[35],PrimeQ[#^#+7]&] (* Harvey P. Dale, Oct 27 2018 *)
-
f1(n,a) = for(x=0,n,y=x^x+a;if(ispseudoprime(y),print1(y",")))
A100839
Numbers k such that k^k + 10 is prime.
Original entry on oeis.org
0, 1, 3, 7, 9, 39
Offset: 1
-
Prepend[Select[Range[100], PrimeQ[#^# + 10] &], 0] (* Stefan Steinerberger, Mar 15 2006 *)
-
f1(n,a) = for(x=0,n,y=x^x+a;if(ispseudoprime(y),print1(y",")))
A173974
Numbers k such that k^k+43 is prime.
Original entry on oeis.org
2, 8, 14, 26, 84, 574
Offset: 1
2^2 + 43 = 47, which is prime, so 2 is in the sequence.
-
f[n_]:=PrimeQ[n^n+43];lst={};Do[If[f[n],AppendTo[lst,n]],{n,6!}];lst
-
is(n)=ispseudoprime(n^n+43) \\ Charles R Greathouse IV, Jun 13 2017
A100840
Primes of the form k^k + 4.
Original entry on oeis.org
5, 31, 823547, 17343773367030267519903781288812032158308062539012091953077767198995511
Offset: 1
-
lst={};Do[p=n^n+4;If[PrimeQ[p],AppendTo[lst,p]],{n,5!}];lst (* Vladimir Joseph Stephan Orlovsky, Nov 01 2009 *)
Select[Table[n^n+4,{n,50}],PrimeQ] (* Harvey P. Dale, Oct 09 2020 *)
-
f1(n) = for(x=1,n,y=x^x+4;if(ispseudoprime(y),print1(y", ")))
A300292
Numbers k such that k^k + 9 is a prime.
Original entry on oeis.org
A300976
Numbers k such that k^k - 5 is a prime.
Original entry on oeis.org
4, 104, 124, 728
Offset: 1
-
Select[Range[1000], PrimeQ[#^# - 5] &] (* Vaclav Kotesovec, Mar 25 2018 *)
-
isok(k) = ispseudoprime(k^k - 5); \\ Altug Alkan, Mar 17 2018
A300981
Numbers k such that k^k - 10 is a prime.
Original entry on oeis.org
-
Select[Range[1000], PrimeQ[#^# - 10] &] (* Vaclav Kotesovec, Mar 25 2018 *)
-
isok(k) = ispseudoprime(k^k - 10); \\ Altug Alkan, Mar 17 2018
A173975
Numbers k such that k^k + 115 is prime.
Original entry on oeis.org
6, 8, 18, 36, 38, 176
Offset: 1
-
f[n_]:=PrimeQ[n^n+115];lst={};Do[If[f[n],AppendTo[lst,n]],{n,6!}];lst
-
is(n)=ispseudoprime(n^n+115) \\ Charles R Greathouse IV, Jun 13 2017
Showing 1-8 of 8 results.
Comments