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

A386074 Primes having only {0, 4, 7, 8} as digits.

Original entry on oeis.org

7, 47, 487, 787, 877, 887, 4007, 4447, 4787, 4877, 7477, 7487, 7877, 8087, 8447, 8707, 8747, 8807, 8887, 40087, 40487, 40787, 40847, 44087, 44777, 44887, 47087, 47407, 47777, 47807, 48407, 48487, 48787, 48847, 70487, 70877, 74047, 74077, 74707, 74747, 74887, 77047
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Subsequence of A030432.
Supersequence of A384449, A385771, A385795.

Programs

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

A386126 Primes having only {1, 4, 7, 8} as digits.

Original entry on oeis.org

7, 11, 17, 41, 47, 71, 181, 487, 787, 811, 877, 881, 887, 1117, 1171, 1181, 1187, 1447, 1471, 1481, 1487, 1741, 1747, 1777, 1787, 1811, 1847, 1871, 1877, 4111, 4177, 4441, 4447, 4481, 4787, 4817, 4871, 4877, 7177, 7187, 7411, 7417, 7477, 7481, 7487, 7717, 7741
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A079651, A260270, A260892, A385795.

Programs

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

A386157 Primes having only {2, 4, 7, 8} as digits.

Original entry on oeis.org

2, 7, 47, 227, 277, 487, 727, 787, 827, 877, 887, 2287, 2447, 2477, 2777, 2887, 4447, 4787, 4877, 7247, 7477, 7487, 7727, 7877, 8287, 8447, 8747, 8887, 22247, 22277, 22447, 22727, 22777, 22787, 22877, 24247, 24847, 24877, 27277, 27427, 27487, 27827, 27847, 28277
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385784, A385789, A385795.

Programs

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

A386176 Primes having only {3, 4, 7, 8} as digits.

Original entry on oeis.org

3, 7, 37, 43, 47, 73, 83, 337, 347, 373, 383, 433, 443, 487, 733, 743, 773, 787, 877, 883, 887, 3343, 3347, 3373, 3433, 3733, 3833, 3847, 3877, 4337, 4373, 4447, 4483, 4733, 4783, 4787, 4877, 7333, 7433, 7477, 7487, 7873, 7877, 7883, 8377, 8387, 8443, 8447, 8737
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A199347, A199348, A260381, A385795.

Programs

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

A386190 Primes having only {4, 5, 7, 8} as digits.

Original entry on oeis.org

5, 7, 47, 457, 487, 547, 557, 577, 587, 757, 787, 857, 877, 887, 4447, 4457, 4547, 4787, 4877, 5477, 5557, 5857, 7457, 7477, 7487, 7547, 7577, 7757, 7877, 8447, 8747, 8887, 44587, 44777, 44887, 45557, 45587, 45757, 45887, 47777, 47857, 48487, 48757, 48787, 48847
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A217039, A260830, A385795.

Programs

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

A386193 Primes having only {4, 6, 7, 8} as digits.

Original entry on oeis.org

7, 47, 67, 467, 487, 647, 677, 787, 877, 887, 4447, 4787, 4877, 7477, 7487, 7687, 7867, 7877, 8447, 8467, 8647, 8677, 8747, 8867, 8887, 44647, 44687, 44777, 44867, 44887, 46447, 46477, 46687, 46747, 46867, 46877, 47777, 48487, 48647, 48677, 48767, 48787, 48847
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A385794, A385795, A385799.

Programs

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

A386195 Primes having only {4, 7, 8, 9} as digits.

Original entry on oeis.org

7, 47, 79, 89, 97, 449, 479, 487, 499, 787, 797, 877, 887, 947, 977, 997, 4447, 4787, 4789, 4799, 4877, 4889, 4987, 4999, 7477, 7487, 7489, 7499, 7789, 7877, 7879, 7949, 8447, 8747, 8779, 8849, 8887, 8999, 9479, 9497, 9749, 9787, 9887, 9949, 44449, 44497, 44777
Offset: 1

Views

Author

Jason Bard, Jul 18 2025

Keywords

Crossrefs

Supersequence of A106110, A261183, A385795, A385796.

Programs

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