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.

A386061 Primes having only {0, 3, 5, 6} as digits.

This page as a plain text file.
%I A386061 #8 Aug 03 2025 14:38:41
%S A386061 3,5,53,353,503,563,653,3533,5003,5303,5333,5503,5563,5653,6053,6353,
%T A386061 6553,6563,6653,30553,33053,33353,33503,33533,33563,35053,35353,35363,
%U A386061 35533,35603,36353,36563,36653,50033,50053,50333,50363,50503,53003,53353,53503,53633
%N A386061 Primes having only {0, 3, 5, 6} as digits.
%H A386061 Jason Bard, <a href="/A386061/b386061.txt">Table of n, a(n) for n = 1..10000</a>
%H A386061 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386061 Select[FromDigits/@Tuples[{0,3,5,6},5],PrimeQ]
%o A386061 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 5, 6]];
%o A386061 (Python) print(list(islice(primes_with("0356"), 41))) # uses function/imports in A385776
%o A386061 (PARI) primes_with(, 1, [0, 3, 5, 6]) \\ uses function in A385776
%Y A386061 Supersequence of A260223, A260225.
%Y A386061 Cf. A000040, A030431, A385776.
%K A386061 nonn,base,easy
%O A386061 1,1
%A A386061 _Jason Bard_, Jul 15 2025
%E A386061 Mathematica program corrected by _Harvey P. Dale_, Aug 03 2025