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.

A386090 Primes having only {1, 2, 3, 9} as digits.

This page as a plain text file.
%I A386090 #6 Jul 16 2025 23:39:07
%S A386090 2,3,11,13,19,23,29,31,113,131,139,191,193,199,211,223,229,233,239,
%T A386090 293,311,313,331,911,919,929,991,1123,1129,1193,1213,1223,1229,1231,
%U A386090 1291,1319,1321,1399,1913,1931,1933,1993,1999,2111,2113,2129,2131,2213,2221,2239
%N A386090 Primes having only {1, 2, 3, 9} as digits.
%H A386090 Jason Bard, <a href="/A386090/b386090.txt">Table of n, a(n) for n = 1..10000</a>
%H A386090 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386090 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 3, 9}, n], PrimeQ], {n, 7}]]
%o A386090 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 3, 9]];
%o A386090 (Python) print(list(islice(primes_with("1239"), 41))) # uses function/imports in A385776
%o A386090 (PARI) primes_with(, 1, [1, 2, 3, 9]) \\ uses function in A385776
%Y A386090 Supersequence of A062350, A260128, A329761, A385776.
%Y A386090 Cf. A000040, A385776.
%K A386090 nonn,base,easy
%O A386090 1,1
%A A386090 _Jason Bard_, Jul 16 2025