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.

A386123 Primes having only {1, 4, 6, 7} as digits.

This page as a plain text file.
%I A386123 #6 Jul 17 2025 07:16:02
%S A386123 7,11,17,41,47,61,67,71,167,461,467,617,641,647,661,677,761,1117,1171,
%T A386123 1447,1471,1667,1741,1747,1777,4111,4177,4441,4447,6661,6761,7177,
%U A386123 7411,7417,7477,7717,7741,11117,11161,11171,11177,11411,11447,11467,11471,11617,11677
%N A386123 Primes having only {1, 4, 6, 7} as digits.
%H A386123 Jason Bard, <a href="/A386123/b386123.txt">Table of n, a(n) for n = 1..10000</a>
%H A386123 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386123 Flatten[Table[Select[FromDigits /@ Tuples[{1, 4, 6, 7}, n], PrimeQ], {n, 7}]]
%o A386123 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 4, 6, 7]];
%o A386123 (Python) print(list(islice(primes_with("1467"), 41))) # uses function/imports in A385776
%o A386123 (PARI) primes_with(, 1, [1, 4, 6, 7]) \\ uses function in A385776
%Y A386123 Supersequence of A079651, A260269, A260891, A385794.
%Y A386123 Cf. A000040, A385776.
%K A386123 nonn,base,easy
%O A386123 1,1
%A A386123 _Jason Bard_, Jul 17 2025