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.

A053434 Primes with digits in alphabetical order (in English).

Original entry on oeis.org

2, 3, 5, 7, 11, 13, 17, 41, 43, 47, 53, 59, 73, 83, 89, 97, 113, 163, 173, 433, 443, 449, 463, 491, 499, 541, 547, 557, 563, 577, 593, 599, 733, 773, 811, 853, 857, 859, 863, 877, 881, 883, 887, 911, 977, 991, 997, 1117, 1163, 1663, 1733, 1777, 4111, 4133, 4177
Offset: 1

Views

Author

G. L. Honaker, Jr., Jan 10 2000

Keywords

Crossrefs

Intersection of primes and A053432.

Programs

  • Python
    from sympy import isprime
    from itertools import count, islice, combinations_with_replacement as cwr
    def bgen(): # generator terms of A053432 not ending in 0 or 2
        for d in count(1):
            yield from sorted(int("".join(t)) for t in cwr("85491763", d))
    def agen(): yield 2; yield from filter(isprime, bgen())
    print(list(islice(agen(), 55))) # Michael S. Branicky, Aug 17 2022