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.

A386059 Primes having only {0, 3, 4, 8} as digits.

This page as a plain text file.
%I A386059 #6 Jul 15 2025 23:58:10
%S A386059 3,43,83,383,433,443,883,3083,3343,3433,3803,3833,4003,4483,8443,8803,
%T A386059 30403,30803,33083,33343,33403,34033,34303,34403,34483,34843,34883,
%U A386059 38083,38303,38333,38803,38833,40343,40433,40483,40883,43003,43403,44383,44483,44843
%N A386059 Primes having only {0, 3, 4, 8} as digits.
%H A386059 Jason Bard, <a href="/A386059/b386059.txt">Table of n, a(n) for n = 1..10000</a>
%H A386059 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386059 Select[FromDigits /@ Tuples[{0, 3, 4, 8}, n], PrimeQ]
%o A386059 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 4, 8]];
%o A386059 (Python) print(list(islice(primes_with("0348"), 41))) # uses function/imports in A385776
%o A386059 (PARI) primes_with(, 1, [0, 3, 4, 8]) \\ uses function in A385776
%Y A386059 Subsequence of A030431.
%Y A386059 Supersequence of A199340, A199348, A261434.
%Y A386059 Cf. A000040, A385776.
%K A386059 nonn,base,easy
%O A386059 1,1
%A A386059 _Jason Bard_, Jul 15 2025