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.

A107612 Primes with digital product = 2.

Original entry on oeis.org

2, 211, 2111, 111121, 111211, 112111, 1111211, 1111111121, 1111211111, 1121111111, 111111211111, 111211111111, 2111111111111, 111111111111112111, 111111112111111111, 111111211111111111, 112111111111111111
Offset: 1

Views

Author

Zak Seidov, May 17 2005

Keywords

Comments

Corresponding indices of primes in A107611. Cf. A053666, A101987.

Crossrefs

Programs

  • Maple
    for i from 0 to 30 do it:=sum(10^j, j=0..i): for k from 0 to i do if isprime(it+10^k) then printf(`%d,`, it+10^k) fi: od:od: (Sellers)
  • Mathematica
    Flatten[ Table[ Select[ Sort[ FromDigits /@ Permutations[ Flatten[{2, Table[1, {n}]}]]], PrimeQ[ # ] &], {n, 0, 19}]] (* Robert G. Wilson v, May 19 2005 *)
    Select[Flatten[Table[FromDigits/@Permutations[PadRight[{2},n,1]],{n,20}]],PrimeQ]//Sort (* Harvey P. Dale, May 28 2017 *)

Formula

A107612(n) = prime(A107611(n)).

Extensions

More terms from Robert G. Wilson v and James Sellers, May 19 2005

A135048 Indices of primes with digit product = 3.

Original entry on oeis.org

2, 6, 11, 30, 32, 64, 1346, 1349, 1367, 10715, 12253, 26886, 733412, 733420, 733533, 734596, 6363182, 6363183, 6363289, 7437658, 503193257, 503193259, 503279746, 504057767, 1346029458, 4555878955, 12238593622, 1035905650780, 309353882444942, 2907021742443975
Offset: 1

Views

Author

Zak Seidov, Feb 11 2008

Keywords

Comments

The corresponding primes are in A107689.

Crossrefs

Formula

a(n) = primepi(A107689(n)).

Extensions

a(26)-a(30) from Amiram Eldar, Sep 06 2024
Showing 1-2 of 2 results.