cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-8 of 8 results.

A100838 Numbers k such that k^k + 7 is prime.

Original entry on oeis.org

2, 4, 6, 32
Offset: 1

Views

Author

Cino Hilliard, Jan 07 2005

Keywords

Comments

Here we interpret 0^0 as 1.
a(5) > 3000. - Daniel Starodubtsev, Aug 07 2019
a(5) > 17000. - Michael S. Branicky, Jun 29 2024

Crossrefs

Cf. A100841 (corresponding primes).

Programs

  • Mathematica
    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 *)
  • PARI
    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

Views

Author

Cino Hilliard, Jan 07 2005

Keywords

Comments

Here we interpret 0^0 as 1.
a(7) > 8672. - Daniel Suteu, Aug 06 2019
a(7) > 20000. - Michael S. Branicky, Jun 30 2024

Crossrefs

Cf. A100842 (actual primes). - Daniel Starodubtsev, Aug 05 2019

Programs

  • Mathematica
    Prepend[Select[Range[100], PrimeQ[#^# + 10] &], 0] (* Stefan Steinerberger, Mar 15 2006 *)
  • PARI
    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

Views

Author

Keywords

Comments

a(7) > 3000. - Daniel Starodubtsev, Aug 06 2019

Examples

			2^2 + 43 = 47, which is prime, so 2 is in the sequence.
		

Crossrefs

Programs

  • Mathematica
    f[n_]:=PrimeQ[n^n+43];lst={};Do[If[f[n],AppendTo[lst,n]],{n,6!}];lst
  • PARI
    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

Views

Author

Cino Hilliard, Jan 07 2005

Keywords

Comments

From Daniel Starodubtsev, Aug 03 2019: (Start)
a(5) = 2569^2569 + 4 (8760 digits long).
a(6) > 15000^15000 + 4. (End)

Crossrefs

Cf. A100837 (corresponding k).

Programs

  • Mathematica
    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 *)
  • PARI
    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

2, 130, 140
Offset: 1

Views

Author

Seiichi Manyama, Mar 16 2018

Keywords

Comments

No more terms <= 7000. - Jon E. Schoenfield, Mar 16 2018
No more terms <= 30000. - Michael S. Branicky, Sep 02 2024

Crossrefs

Numbers k such that k^k + b is a prime: A300981 (b=-10), A300976 (b=-5), A100408 (b=-2), A100407 (b=2), A166852 (b=3), A100837 (b=4), A100838 (b=7), this sequence (b=9), A100839 (b=10), A173974 (b=43).
Cf. A074966.

Programs

  • PARI
    isok(k) = ispseudoprime(k^k + 9); \\ Altug Alkan, Mar 16 2018

A300976 Numbers k such that k^k - 5 is a prime.

Original entry on oeis.org

4, 104, 124, 728
Offset: 1

Views

Author

Seiichi Manyama, Mar 17 2018

Keywords

Comments

728^728 - 5 is a probable prime.
Next term, if it exists, is greater than 5000. - Vaclav Kotesovec, Mar 25 2018
Next term, if it exists, is greater than 31000. - Robert Price, Mar 26 2018

Crossrefs

Numbers k such that k^k + b is a prime: A300981 (b=-10), this sequence (b=-5), A100408 (b=-2), A100407 (b=2), A166852 (b=3), A100837 (b=4), A100838 (b=7), A300292 (b=9), A100839 (b=10), A173974 (b=43).

Programs

  • Mathematica
    Select[Range[1000], PrimeQ[#^# - 5] &] (* Vaclav Kotesovec, Mar 25 2018 *)
  • PARI
    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

3, 9, 27, 249
Offset: 1

Views

Author

Seiichi Manyama, Mar 17 2018

Keywords

Comments

a(5), if it exists, is greater than 5000. - Vaclav Kotesovec, Mar 25 2018
a(5), if it exists, is greater than 25000. - Michael S. Branicky, Sep 02 2024

Crossrefs

Numbers k such that k^k + b is a prime: this sequence (b=-10), A300976 (b=-5), A100408 (b=-2), A100407 (b=2), A166852 (b=3), A100837 (b=4), A100838 (b=7), A300292 (b=9), A100839 (b=10), A173974 (b=43).

Programs

  • Mathematica
    Select[Range[1000], PrimeQ[#^# - 10] &] (* Vaclav Kotesovec, Mar 25 2018 *)
  • PARI
    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

Views

Author

Keywords

Comments

a(7) > 3000. - Daniel Starodubtsev, Aug 05 2019
a(7) > 30000. - Michael S. Branicky, Nov 30 2024

Crossrefs

Programs

  • Mathematica
    f[n_]:=PrimeQ[n^n+115];lst={};Do[If[f[n],AppendTo[lst,n]],{n,6!}];lst
  • PARI
    is(n)=ispseudoprime(n^n+115) \\ Charles R Greathouse IV, Jun 13 2017
Showing 1-8 of 8 results.