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.

A178429 Numbers n such that 10^n - 51 is prime.

Original entry on oeis.org

4, 48, 64, 313, 484, 642, 11950, 15845, 18580, 50929
Offset: 1

Views

Author

Robert Price, Dec 21 2010

Keywords

Examples

			10^4 - 51 = 9949 which is a prime number.
		

Crossrefs

Programs

  • Maple
    A178429:=n->`if`(isprime(10^n-51), n, NULL): seq(A178429(n), n=1..1000); # Wesley Ivan Hurt, Nov 26 2014
  • Mathematica
    m = 1000; For[n = 1, n < m, If[PrimeQ[10^n - 51], Print[n]]; n++ ]
  • PARI
    is(n)=ispseudoprime(10^n-51) \\ Charles R Greathouse IV, Jun 06 2017

Extensions

a(10) = 50929 found by Robert Price and added by Patrick De Geest, Nov 26 2014