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.

A386076 Primes having only {0, 4, 8, 9} as digits.

Original entry on oeis.org

89, 409, 449, 499, 809, 4049, 4099, 4409, 4889, 4909, 4999, 8009, 8089, 8849, 8999, 9049, 9949, 40009, 40099, 40499, 40849, 40949, 44089, 44449, 44809, 44909, 48049, 48409, 48449, 48809, 48889, 48989, 49009, 49409, 49499, 49999, 80449, 80489, 80809, 80849, 80909
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Subsequence of A030433.
Supersequence of A385768, A385772, A385796.

Programs

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