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.

A275410 Numbers k such that (493*10^k - 7)/9 is prime.

Original entry on oeis.org

1, 2, 5, 7, 8, 14, 19, 22, 23, 31, 62, 65, 79, 178, 356, 401, 517, 557, 1040, 2248, 6718, 10730, 15079, 24938, 36241, 58486, 69340
Offset: 1

Views

Author

Robert Price, Jul 26 2016

Keywords

Comments

Numbers k such that the digits 54 followed by k occurrences of the digit 7 is prime (see Example section).
a(28) > 10^5.

Examples

			5 is in this sequence because (493*10^5-7)/9 = 5477777 is prime.
Initial terms and associated primes:
a(1) = 1, 547;
a(2) = 2, 5477;
a(3) = 5, 5477777;
a(4) = 7, 547777777;
a(5) = 8, 5477777777, etc.
		

Crossrefs

Programs

  • Magma
    [n: n in [0..500] | IsPrime((493*10^n-7) div 9)]; // Vincenzo Librandi, Jul 27 2016
    
  • Mathematica
    Select[Range[0, 100000], PrimeQ[(493*10^#-7)/9] &]
  • PARI
    is(n)=ispseudoprime((493*10^n-7)/9) \\ Charles R Greathouse IV, Jun 13 2017