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

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