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.

A385783 Primes having only {1, 8, 9} as digits.

This page as a plain text file.
%I A385783 #8 Jul 13 2025 11:04:56
%S A385783 11,19,89,181,191,199,811,881,911,919,991,1181,1811,1889,1999,8111,
%T A385783 8191,8819,8999,9181,9199,9811,11119,11981,18119,18181,18191,18199,
%U A385783 18899,18911,18919,19181,19819,19889,19891,19919,19991,81119,81181,81199,81899,81919
%N A385783 Primes having only {1, 8, 9} as digits.
%H A385783 Jason Bard, <a href="/A385783/b385783.txt">Table of n, a(n) for n = 1..10000</a>
%H A385783 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385783 Flatten[Table[Select[FromDigits /@ Tuples[{1, 8, 9}, n], PrimeQ], {n, 7}]]
%o A385783 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 8, 9]];
%o A385783 (Python) print(list(islice(primes_with("189"), 41))) # uses function/imports in A385776
%o A385783 (PARI) primes_with(, 1, [1, 8, 9]) \\ uses function in A385776
%Y A385783 Supersequence of A020456, A020457, A020472.
%Y A385783 Cf. A000040, A385776.
%K A385783 nonn,base,easy
%O A385783 1,1
%A A385783 _Jason Bard_, Jul 13 2025