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.

A386022 Primes having only {0, 1, 2, 9} as digits.

This page as a plain text file.
%I A386022 #6 Jul 14 2025 21:17:33
%S A386022 2,11,19,29,101,109,191,199,211,229,911,919,929,991,1009,1019,1021,
%T A386022 1091,1109,1129,1201,1229,1291,1901,1999,2011,2029,2099,2111,2129,
%U A386022 2221,2909,2999,9001,9011,9029,9091,9109,9199,9209,9221,9901,9929,10009,10091,10099
%N A386022 Primes having only {0, 1, 2, 9} as digits.
%H A386022 Jason Bard, <a href="/A386022/b386022.txt">Table of n, a(n) for n = 1..10000</a>
%H A386022 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386022 Select[FromDigits /@ Tuples[{0, 1, 2, 9}, n], PrimeQ]
%o A386022 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 2, 9]];
%o A386022 (Python) print(list(islice(primes_with("0129"), 41))) # uses function/imports in A385776
%o A386022 (PARI) primes_with(, 1, [0, 1, 2, 9]) \\ uses function in A385776
%Y A386022 Supersequence of A036953, A199329, A385776.
%Y A386022 Cf. A000040, A385776.
%K A386022 nonn,base,easy
%O A386022 1,1
%A A386022 _Jason Bard_, Jul 14 2025