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

A036956 Primes containing only digits from the set (0,1,2,3,4).

Original entry on oeis.org

2, 3, 11, 13, 23, 31, 41, 43, 101, 103, 113, 131, 211, 223, 233, 241, 311, 313, 331, 401, 421, 431, 433, 443, 1013, 1021, 1031, 1033, 1103, 1123, 1201, 1213, 1223, 1231, 1301, 1303, 1321, 1423, 1433, 2003, 2011, 2111, 2113, 2131, 2141, 2143, 2203, 2213
Offset: 1

Views

Author

Patrick De Geest, Jan 04 1999

Keywords

Crossrefs

Subsequence of A036958.

Extensions

Offet 1 from Michel Marcus, Oct 10 2019

A386024 Primes having only {0, 1, 3, 5} as digits.

Original entry on oeis.org

3, 5, 11, 13, 31, 53, 101, 103, 113, 131, 151, 311, 313, 331, 353, 503, 1013, 1031, 1033, 1051, 1103, 1151, 1153, 1301, 1303, 1511, 1531, 1553, 3001, 3011, 3301, 3313, 3331, 3511, 3533, 5003, 5011, 5051, 5101, 5113, 5153, 5303, 5333, 5351, 5501, 5503, 5531, 10103
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Subsequence of A036958.
Supersequence of A199325, A260044, A260224.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 3, 5]];
    
  • Mathematica
    Select[FromDigits /@ Tuples[{0, 1, 3, 5}, n], PrimeQ]
  • PARI
    primes_with(, 1, [0, 1, 3, 5]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("0135"), 41))) # uses function/imports in A385776
    

A386085 Primes having only {1, 2, 3, 4} as digits.

Original entry on oeis.org

2, 3, 11, 13, 23, 31, 41, 43, 113, 131, 211, 223, 233, 241, 311, 313, 331, 421, 431, 433, 443, 1123, 1213, 1223, 1231, 1321, 1423, 1433, 2111, 2113, 2131, 2141, 2143, 2213, 2221, 2243, 2311, 2333, 2341, 2411, 2423, 2441, 3121, 3221, 3313, 3323, 3331, 3343, 3413
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Subsequence of A036956, A036958.
Supersequence of A062350, A199341, A199342, A260267.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 3, 4]];
    
  • Mathematica
    Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 3, 4}, n], PrimeQ], {n, 7}]]
  • PARI
    primes_with(, 1, [1, 2, 3, 4]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("1234"), 41))) # uses function/imports in A385776
    
Showing 1-3 of 3 results.