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.

Showing 1-2 of 2 results.

A210546 Emirps whose products of digits are prime.

Original entry on oeis.org

13, 17, 31, 71, 113, 311, 1151, 1511, 111211, 112111, 1111711, 1171111, 11111117, 11113111, 11131111, 71111111, 111111131, 131111111, 1111115111, 1115111111, 11111111113, 31111111111, 111111111111111131, 131111111111111111, 1111111111111111111111111511
Offset: 1

Views

Author

Lekraj Beedassy, Mar 22 2012

Keywords

Crossrefs

Programs

  • Python
    from _future_ import division
    from sympy import isprime
    A210546_list = []
    for l in range(1,20):
        q = (10**l-1)//9
        for i in range(l):
            for p in [2,3,5,7]:
                r = q+(p-1)*10**i
                s, t = str(r), str(r)[::-1]
                if s != t and isprime(r) and isprime(int(t)):
                    A210546_list.append(r) # Chai Wah Wu, Aug 15 2017

Extensions

5 more terms from Alois P. Heinz, Mar 29 2012

A210547 Lesser of emirp pairs whose members have prime digital products.

Original entry on oeis.org

13, 17, 113, 1151, 111211, 1111711, 11111117, 11113111, 111111131, 1111115111, 11111111113, 111111111111111131, 1111111111111111111111111511, 11111111111111111711111111111, 111111111111111111111111111111111111131
Offset: 1

Views

Author

Lekraj Beedassy, Mar 22 2012

Keywords

Comments

Beyond the first two terms, a(n) is the intersection of A173595 and A046703.

Crossrefs

Extensions

More terms from Alois P. Heinz, Mar 22 2012
Showing 1-2 of 2 results.