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.

A386172 Primes having only {3, 4, 5, 9} as digits.

This page as a plain text file.
%I A386172 #6 Jul 18 2025 16:50:03
%S A386172 3,5,43,53,59,349,353,359,433,439,443,449,499,593,599,953,3343,3359,
%T A386172 3433,3449,3499,3533,3539,3559,3593,3943,4339,4349,4493,4549,4933,
%U A386172 4943,4993,4999,5333,5393,5399,5443,5449,5939,5953,9343,9349,9433,9439,9533,9539,9949
%N A386172 Primes having only {3, 4, 5, 9} as digits.
%H A386172 Jason Bard, <a href="/A386172/b386172.txt">Table of n, a(n) for n = 1..10000</a>
%H A386172 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386172 Flatten[Table[Select[FromDigits /@ Tuples[{3, 4, 5, 9}, n], PrimeQ], {n, 7}]]
%o A386172 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [3, 4, 5, 9]];
%o A386172 (Python) print(list(islice(primes_with("3459"), 41))) # uses function/imports in A385776
%o A386172 (PARI) primes_with(, 1, [3, 4, 5, 9]) \\ uses function in A385776
%Y A386172 Supersequence of A199345, A199349, A260227, A385793.
%Y A386172 Cf. A000040, A385776.
%K A386172 nonn,base,easy
%O A386172 1,1
%A A386172 _Jason Bard_, Jul 18 2025