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.

A385800 Primes having only {6, 8, 9} as digits.

Original entry on oeis.org

89, 6689, 6869, 6899, 8669, 8689, 8699, 8969, 8999, 9689, 66889, 68669, 68699, 68899, 69899, 86689, 86869, 86969, 88969, 89669, 89689, 89899, 89989, 96989, 98669, 98689, 98869, 98899, 98999, 99689, 99989, 666889, 666989, 668699, 668869, 668989, 668999, 669689, 669869
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Subsequence of A030431, A106111.
Supersequence of A020472.

Programs

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