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.

A386078 Primes having only {0, 5, 6, 9} as digits.

This page as a plain text file.
%I A386078 #6 Jul 16 2025 21:44:27
%S A386078 5,59,509,569,599,659,5009,5059,5099,5569,5659,5669,6569,6599,6659,
%T A386078 6959,9059,50069,50599,50909,50969,55009,55609,56009,56099,56509,
%U A386078 56569,56599,56659,56909,56999,59009,59069,59509,59659,59669,59699,59999,60509,60659,65099
%N A386078 Primes having only {0, 5, 6, 9} as digits.
%H A386078 Jason Bard, <a href="/A386078/b386078.txt">Table of n, a(n) for n = 1..10000</a>
%H A386078 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386078 Select[FromDigits /@ Tuples[{0, 5, 6, 9}, n], PrimeQ]
%o A386078 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 5, 6, 9]];
%o A386078 (Python) print(list(islice(primes_with("0569"), 41))) # uses function/imports in A385776
%o A386078 (PARI) primes_with(, 1, [0, 5, 6, 9]) \\ uses function in A385776
%Y A386078 Supersequence of A385769, A385797.
%Y A386078 Cf. A000040, A030433, A385776.
%K A386078 nonn,base,easy
%O A386078 1,1
%A A386078 _Jason Bard_, Jul 16 2025