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.

A386028 Primes having only {0, 1, 4, 6} as digits.

This page as a plain text file.
%I A386028 #6 Jul 15 2025 08:28:39
%S A386028 11,41,61,101,401,461,601,641,661,1061,1601,4001,4111,4441,6011,6101,
%T A386028 6661,10061,10111,10141,10601,11161,11411,14011,14401,14411,14461,
%U A386028 16001,16061,16111,16141,16411,16661,40111,41011,41141,41161,41411,41611,41641,44041,44101
%N A386028 Primes having only {0, 1, 4, 6} as digits.
%H A386028 Jason Bard, <a href="/A386028/b386028.txt">Table of n, a(n) for n = 1..10000</a>
%H A386028 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386028 Select[FromDigits /@ Tuples[{0, 1, 4, 6}, n], PrimeQ]
%o A386028 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 4, 6]];
%o A386028 (Python) print(list(islice(primes_with("0146"), 41))) # uses function/imports in A385776
%o A386028 (PARI) primes_with(, 1, [0, 1, 4, 6]) \\ uses function in A385776
%Y A386028 Subsequence of A030430.
%Y A386028 Supersequence of A199326, A260266, A260269.
%Y A386028 Cf. A000040, A385776.
%K A386028 nonn,base,easy
%O A386028 1,1
%A A386028 _Jason Bard_, Jul 14 2025