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.

A386077 Primes having only {0, 5, 6, 7} as digits.

This page as a plain text file.
%I A386077 #6 Jul 16 2025 21:44:23
%S A386077 5,7,67,557,577,607,677,757,5077,5507,5557,5657,6007,6067,6577,6607,
%T A386077 7057,7507,7577,7607,7757,50077,50707,50767,50777,55057,55667,56767,
%U A386077 57077,57557,57667,60077,60607,60757,65557,65657,65677,65707,65777,66067,67057,67567
%N A386077 Primes having only {0, 5, 6, 7} as digits.
%H A386077 Jason Bard, <a href="/A386077/b386077.txt">Table of n, a(n) for n = 1..10000</a>
%H A386077 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386077 Select[FromDigits /@ Tuples[{0, 5, 6, 7}, n], PrimeQ]
%o A386077 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 5, 6, 7]];
%o A386077 (Python) print(list(islice(primes_with("0567"), 41))) # uses function/imports in A385776
%o A386077 (PARI) primes_with(, 1, [0, 5, 6, 7]) \\ uses function in A385776
%Y A386077 Supersequence of A260827, A260829, A385770.
%Y A386077 Cf. A000040, A030432, A385776.
%K A386077 nonn,base,easy
%O A386077 1,1
%A A386077 _Jason Bard_, Jul 16 2025