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-4 of 4 results.

A243397 Numbers n such that 19^n+4 is prime.

Original entry on oeis.org

0, 1, 3, 21, 145, 273, 1425, 9613, 15711, 18445
Offset: 1

Views

Author

Felix Fröhlich, Jun 04 2014

Keywords

Comments

No further terms up to 20000. - Felix Fröhlich, Oct 29 2014
No further terms up to 24000. - Felix Fröhlich, Jan 22 2015
No further terms up to 50000. - Michael S. Branicky, Oct 09 2024

Crossrefs

Corresponding sequences for k^n+4: A058958 (k=3), A124621 (k=5), A096305 (k=7), A217384 (k=9), A137236 (k=13).

Programs

  • Magma
    [n: n in [0..1000] | IsPrime(19^n+4)]; // Vincenzo Librandi, Oct 16 2014
  • Mathematica
    Select[Range[0, 10000], PrimeQ[19^# + 4] &] (* Vincenzo Librandi, Oct 16 2014 *)
  • PARI
    for(n=0, 10^5, if(ispseudoprime(19^n+4), print1(n, ", ")))
    

Extensions

a(1)-a(2) prepended by N. J. A. Sloane, Jun 18 2014
a(9)-a(10) from Felix Fröhlich, Oct 16 2014

A247166 Numbers k such that 15^k+4 is prime.

Original entry on oeis.org

0, 1, 2, 7, 10, 39, 42, 201, 225, 551
Offset: 1

Views

Author

Felix Fröhlich, Dec 01 2014

Keywords

Comments

No further terms up to 10000.
No further terms up to 10^5. - Tyler NeSmith, Jan 21 2021

Crossrefs

Corresponding sequences for m^k+4: A058958 (m=3), A124621 (m=5), A096305 (m=7), A217384 (m=9), A137236 (m=13), A243397 (m=19).

Programs

  • Magma
    [n: n in [0..300] | IsPrime(15^n+4)]; // Vincenzo Librandi, Dec 01 2015
  • Mathematica
    a247166[n_Integer] := Select[Range[n], PrimeQ[15^# + 4] &]; a247166[10^4] (* Michael De Vlieger, Dec 03 2014 *)
  • PARI
    for(n=0, 1e5, if(ispseudoprime(15^n+4), print1(n, ", ")))
    

Extensions

Offset changed to 1 by Georg Fischer, Sep 26 2022

A217385 Numbers n such that 9^n + 8 is prime.

Original entry on oeis.org

1, 2, 4, 7, 10, 19, 22, 44, 62, 76, 122, 2191, 3134, 9244, 40999, 48230
Offset: 1

Views

Author

Vincenzo Librandi, Oct 04 2012

Keywords

Comments

Contains exactly the halved even terms of A217136. - Bruno Berselli, Oct 04 2012

Crossrefs

Programs

  • Mathematica
    Select[Range[5000], PrimeQ[9^# + 8] &]
  • PARI
    is(n)=ispseudoprime(9^n+8) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

a(14) from Bruno Berselli, Oct 05 2012
a(15)-a(16) derived from A217136 by Robert Price, May 19 2015

A253380 Numbers k such that 17^k + 4 is prime.

Original entry on oeis.org

0, 2, 6, 18, 7238
Offset: 1

Views

Author

Felix Fröhlich, Dec 31 2014

Keywords

Comments

No further terms up to 10000.
No further terms up to 37200. - Michael S. Branicky, Mar 22 2023

Examples

			For k = 0: 17^0 + 4 = 5, which is prime, so 0 is a term of the sequence.
For k = 2: 17^2 + 4 = 293, which is prime, so 2 is a term of the sequence.
		

Crossrefs

Corresponding sequences for k^n+4: A058958 (k=3), A124621 (k=5), A096305(k=7), A217384 (k=9), A137236 (k=13), A247166 (k=15), A243397 (k=19).

Programs

  • Mathematica
    Select[Range@10^5, PrimeQ[17^# + 4] &] (* Michael De Vlieger, Jan 03 2015 *)
  • PARI
    for(n=0, 1e5, if(ispseudoprime(17^n+4), print1(n, ", ")))
Showing 1-4 of 4 results.