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.

A386197 Primes having only {5, 6, 7, 9} as digits.

This page as a plain text file.
%I A386197 #6 Jul 18 2025 23:50:49
%S A386197 5,7,59,67,79,97,557,569,577,599,659,677,757,769,797,967,977,997,5557,
%T A386197 5569,5657,5659,5669,5779,6569,6577,6599,6659,6679,6779,6959,6967,
%U A386197 6977,6997,7559,7577,7669,7699,7757,7759,9677,9679,9697,9767,9769,9967,55579,55667
%N A386197 Primes having only {5, 6, 7, 9} as digits.
%H A386197 Jason Bard, <a href="/A386197/b386197.txt">Table of n, a(n) for n = 1..10000</a>
%H A386197 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386197 Flatten[Table[Select[FromDigits /@ Tuples[{5, 6, 7, 9}, n], PrimeQ], {n, 7}]]
%o A386197 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [5, 6, 7, 9]];
%o A386197 (Python) print(list(islice(primes_with("5679"), 41))) # uses function/imports in A385776
%o A386197 (PARI) primes_with(, 1, [5, 6, 7, 9]) \\ uses function in A385776
%Y A386197 Supersequence of A260829, A260831, A261184, A385797.
%Y A386197 Cf. A000040, A106111, A385776.
%K A386197 nonn,base,easy
%O A386197 1,1
%A A386197 _Jason Bard_, Jul 18 2025