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.

A386034 Primes having only {0, 1, 5, 9} as digits.

This page as a plain text file.
%I A386034 #6 Jul 15 2025 08:28:14
%S A386034 5,11,19,59,101,109,151,191,199,509,599,911,919,991,1009,1019,1051,
%T A386034 1091,1109,1151,1511,1559,1901,1951,1999,5009,5011,5051,5059,5099,
%U A386034 5101,5119,5501,5519,5591,9001,9011,9059,9091,9109,9151,9199,9511,9551,9901,10009,10091
%N A386034 Primes having only {0, 1, 5, 9} as digits.
%H A386034 Jason Bard, <a href="/A386034/b386034.txt">Table of n, a(n) for n = 1..10000</a>
%H A386034 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386034 Select[FromDigits /@ Tuples[{0, 1, 5, 9}, n], PrimeQ]
%o A386034 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 5, 9]];
%o A386034 (Python) print(list(islice(primes_with("0159"), 41))) # uses function/imports in A385776
%o A386034 (PARI) primes_with(, 1, [0, 1, 5, 9]) \\ uses function in A385776
%Y A386034 Supersequence of A199325, A199329, A385781.
%Y A386034 Cf. A000040, A385776.
%K A386034 nonn,base,easy
%O A386034 1,1
%A A386034 _Jason Bard_, Jul 14 2025