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.

A386076 Primes having only {0, 4, 8, 9} as digits.

This page as a plain text file.
%I A386076 #6 Jul 16 2025 05:30:43
%S A386076 89,409,449,499,809,4049,4099,4409,4889,4909,4999,8009,8089,8849,8999,
%T A386076 9049,9949,40009,40099,40499,40849,40949,44089,44449,44809,44909,
%U A386076 48049,48409,48449,48809,48889,48989,49009,49409,49499,49999,80449,80489,80809,80849,80909
%N A386076 Primes having only {0, 4, 8, 9} as digits.
%H A386076 Jason Bard, <a href="/A386076/b386076.txt">Table of n, a(n) for n = 1..10000</a>
%H A386076 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386076 Select[FromDigits /@ Tuples[{0, 4, 8, 9}, n], PrimeQ]
%o A386076 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 4, 8, 9]];
%o A386076 (Python) print(list(islice(primes_with("0489"), 41))) # uses function/imports in A385776
%o A386076 (PARI) primes_with(, 1, [0, 4, 8, 9]) \\ uses function in A385776
%Y A386076 Subsequence of A030433.
%Y A386076 Supersequence of A385768, A385772, A385796.
%Y A386076 Cf. A000040, A385776.
%K A386076 nonn,base,easy
%O A386076 1,1
%A A386076 _Jason Bard_, Jul 16 2025