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.

A386125 Primes having only {1, 4, 6, 9} as digits.

This page as a plain text file.
%I A386125 #6 Jul 17 2025 07:16:14
%S A386125 11,19,41,61,149,191,199,419,449,461,491,499,619,641,661,691,911,919,
%T A386125 941,991,1499,1619,1669,1699,1949,1999,4111,4441,4649,4691,4919,4969,
%U A386125 4999,6199,6449,6469,6491,6619,6661,6691,6911,6949,6961,6991,9161,9199,9419,9461
%N A386125 Primes having only {1, 4, 6, 9} as digits.
%H A386125 Jason Bard, <a href="/A386125/b386125.txt">Table of n, a(n) for n = 1..10000</a>
%H A386125 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386125 Flatten[Table[Select[FromDigits /@ Tuples[{1, 4, 6, 9}, n], PrimeQ], {n, 7}]]
%o A386125 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 4, 6, 9]];
%o A386125 (Python) print(list(islice(primes_with("1469"), 41))) # uses function/imports in A385776
%o A386125 (PARI) primes_with(, 1, [1, 4, 6, 9]) \\ uses function in A385776
%Y A386125 Supersequence of A107666, A260269, A260271, A363023.
%Y A386125 Cf. A000040, A385776.
%K A386125 nonn,base,easy
%O A386125 1,1
%A A386125 _Jason Bard_, Jul 17 2025