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-5 of 5 results.

A031991 Smallest n-digit norep emirp.

Original entry on oeis.org

2, 13, 107, 1069, 10247, 102367, 1023487, 10235749, 102346897
Offset: 1

Views

Author

Keywords

Crossrefs

A127828 Largest n-digit emirp (A006567) with nonincreasing digits.

Original entry on oeis.org

97, 991, 9941, 99881, 999983, 9999971, 99999643, 999999761, 9999999511, 99999999977, 999999998863, 9999999998633, 99999999998333, 999999999999877, 9999999999998633, 99999999999987443, 999999999999999331, 9999999999999988633, 99999999999999999631
Offset: 2

Views

Author

Ray Chandler, Jan 31 2007

Keywords

Crossrefs

Programs

  • Mathematica
    nde[n_]:=Module[{p=NextPrime[10^n,-1]},While[Max[Differences[ IntegerDigits[ p]]]>0 || CompositeQ[IntegerReverse[p]],p=NextPrime[ p,-1]];p]; Array[nde,17,2] (* Harvey P. Dale, Mar 13 2020 *)
  • Python
    from sympy import isprime
    from itertools import count, islice, combinations_with_replacement as mc
    def bgen(d):
        nd = ("".join(m) for m in mc("987654321", d))
        yield from filter(isprime, map(int, nd))
    def ok(ndp):
        s = str(ndp)
        return len(set(s)) != 1 and isprime(int(s[::-1]))
    def agen():
        yield from (next(filter(ok, bgen(d))) for d in count(2))
    print(list(islice(agen(), 20))) # Michael S. Branicky, Jun 26 2022

Extensions

a(19) and beyond from Michael S. Branicky, Jun 26 2022

A127748 Largest n-digit emirp (A006567) with strictly decreasing (distinct) digits.

Original entry on oeis.org

97, 983, 9871, 98731, 986543, 9875321
Offset: 2

Views

Author

Lekraj Beedassy, Jan 28 2007

Keywords

Crossrefs

Extensions

Edited and extended by Ray Chandler, Jan 30 2007

A131593 Number of norep emirps less than 10^n.

Original entry on oeis.org

4, 12, 34, 118, 520, 1738, 5310, 13528, 25332
Offset: 1

Views

Author

Harvey P. Dale, Aug 30 2007

Keywords

Comments

Partial sums of A003684. [From Lekraj Beedassy, Jun 07 2009]

Examples

			There are 12 norep emirps less than 100
		

Crossrefs

A158718 Largest emirp with n distinct nonprime digits (or 0, if no such number exists).

Original entry on oeis.org

0, 941, 9601, 0, 968041
Offset: 2

Views

Author

Lekraj Beedassy, Mar 24 2009

Keywords

Crossrefs

Showing 1-5 of 5 results.