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.

A386103 Primes having only {1, 2, 7, 9} as digits.

This page as a plain text file.
%I A386103 #6 Jul 17 2025 00:50:11
%S A386103 2,7,11,17,19,29,71,79,97,127,179,191,197,199,211,227,229,271,277,719,
%T A386103 727,797,911,919,929,971,977,991,997,1117,1129,1171,1217,1229,1277,
%U A386103 1279,1291,1297,1721,1777,1979,1997,1999,2111,2129,2179,2221,2297,2711,2719
%N A386103 Primes having only {1, 2, 7, 9} as digits.
%H A386103 Jason Bard, <a href="/A386103/b386103.txt">Table of n, a(n) for n = 1..10000</a>
%H A386103 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386103 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 7, 9}, n], PrimeQ], {n, 7}]]
%o A386103 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 7, 9]];
%o A386103 (Python) print(list(islice(primes_with("1279"), 41))) # uses function/imports in A385776
%o A386103 (PARI) primes_with(, 1, [1, 2, 7, 9]) \\ uses function in A385776
%Y A386103 Supersequence of A260889, A260893, A261182, A385776.
%Y A386103 Cf. A000040, A385776.
%K A386103 nonn,base,easy
%O A386103 1,1
%A A386103 _Jason Bard_, Jul 17 2025