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.

A386075 Primes having only {0, 4, 7, 9} as digits.

This page as a plain text file.
%I A386075 #6 Jul 16 2025 05:30:29
%S A386075 7,47,79,97,409,449,479,499,709,797,907,947,977,997,4007,4049,4079,
%T A386075 4099,4409,4447,4799,4909,4999,7079,7477,7499,7907,7949,9007,9049,
%U A386075 9479,9497,9749,9907,9949,40009,40099,40499,40709,40949,44449,44497,44777,44797,44909
%N A386075 Primes having only {0, 4, 7, 9} as digits.
%H A386075 Jason Bard, <a href="/A386075/b386075.txt">Table of n, a(n) for n = 1..10000</a>
%H A386075 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386075 Select[FromDigits /@ Tuples[{0, 4, 7, 9}, n], PrimeQ]
%o A386075 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 4, 7, 9]];
%o A386075 (Python) print(list(islice(primes_with("0479"), 41))) # uses function/imports in A385776
%o A386075 (PARI) primes_with(, 1, [0, 4, 7, 9]) \\ uses function in A385776
%Y A386075 Supersequence of A261181, A261183, A384449, A385768.
%Y A386075 Cf. A000040, A385776.
%K A386075 nonn,base,easy
%O A386075 1,1
%A A386075 _Jason Bard_, Jul 16 2025