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.

A160337 1 plus primes using only digits {0, 1, 2, 3, 5, 7}.

Original entry on oeis.org

1, 2, 3, 5, 7, 11, 13, 17, 23, 31, 37, 53, 71, 73, 101, 103, 107, 113, 127, 131, 137, 151, 157, 173, 211, 223, 227, 233, 251, 257, 271, 277, 307, 311, 313, 317, 331, 337, 353, 373, 503, 521, 523, 557, 571, 577, 701, 727, 733, 751, 757, 773, 1013, 1021, 1031
Offset: 1

Views

Author

Mohit Singh Kanwal (mohit_kanwal(AT)hotmail.com), May 10 2009

Keywords

Crossrefs

Programs

  • Python
    from sympy import isprime
    def ok(n): return n == 1 or (set(str(n)) <= set("012357") and isprime(n))
    print([m for m in range(1032) if ok(m)]) # Michael S. Branicky, Jan 25 2021