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.

A193552 Prime numbers ending in James Bond number ''007''.

Original entry on oeis.org

4007, 6007, 9007, 10007, 12007, 13007, 16007, 24007, 36007, 45007, 61007, 64007, 78007, 82007, 88007, 90007, 94007, 97007, 103007, 108007, 121007, 123007, 135007, 138007, 142007, 145007, 151007, 156007, 157007, 162007, 169007, 171007, 174007
Offset: 1

Views

Author

Kausthub Gudipati, Jul 30 2011

Keywords

Comments

Of this sequence, Wells (2005) wrote: "Sloane's On-Line Encyclopedia of Integer Sequences declines to include it, naturally," giving it as an example of "sink[ing] even lower" than the iccanobiF primes. - Alonso del Arte, Mar 07 2012

References

  • David Wells, Prime Numbers: The Most Mysterious Figures in Math. Hoboken, New Jersey: John Wiley & Sons (2005): 228.

Programs

  • Maple
    select(isprime, [1000*i+7$i=1..200])[];  # Alois P. Heinz, Feb 03 2023
  • Mathematica
    Select[Range[1007, 200007, 1000], PrimeQ] (* Alonso del Arte, Mar 07 2012 *)
  • PARI
    forstep(n=1007,1e6,1000,if(isprime(n),print1(n", "))) \\ Charles R Greathouse IV, Mar 07 2012
    
  • Python
    from sympy import isprime
    from itertools import count, islice
    def agen(): yield from (t for t in count(1007, 1000) if isprime(t))
    print(list(islice(agen(), 33))) # Michael S. Branicky, Feb 03 2023

Formula

Primes of the form 1000n + 7 with n >= 1.

Extensions

Corrected and extended by Charles R Greathouse IV, Jul 30 2011