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.

A386068 Primes having only {0, 3, 7, 9} as digits.

This page as a plain text file.
%I A386068 #6 Jul 16 2025 05:29:31
%S A386068 3,7,37,73,79,97,307,337,373,379,397,709,733,739,773,797,907,937,977,
%T A386068 997,3037,3079,3307,3373,3709,3733,3739,3779,3793,3797,3907,7039,7079,
%U A386068 7307,7309,7333,7393,7703,7793,7907,7933,7937,7993,9007,9337,9377,9397,9733
%N A386068 Primes having only {0, 3, 7, 9} as digits.
%H A386068 Jason Bard, <a href="/A386068/b386068.txt">Table of n, a(n) for n = 1..10000</a>
%H A386068 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386068 Select[FromDigits /@ Tuples[{0, 3, 7, 9}, n], PrimeQ]
%o A386068 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 3, 7, 9]];
%o A386068 (Python) print(list(islice(primes_with("0379"), 41))) # uses function/imports in A385776
%o A386068 (PARI) primes_with(, 1, [0, 3, 7, 9]) \\ uses function in A385776
%Y A386068 Supersequence of A260378, A260382, A261181.
%Y A386068 Cf. A000040, A385776.
%K A386068 nonn,base,easy
%O A386068 1,1
%A A386068 _Jason Bard_, Jul 16 2025