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.

A386124 Primes having only {1, 4, 6, 8} as digits.

This page as a plain text file.
%I A386124 #6 Jul 17 2025 07:16:08
%S A386124 11,41,61,181,461,641,661,811,881,1181,1481,1811,1861,4111,4441,4481,
%T A386124 4861,6481,6661,6841,8111,8161,8461,8641,8681,8861,11161,11411,11681,
%U A386124 14411,14461,16111,16141,16411,16481,16661,16811,18181,18461,18481,18661,41141,41161
%N A386124 Primes having only {1, 4, 6, 8} as digits.
%H A386124 Jason Bard, <a href="/A386124/b386124.txt">Table of n, a(n) for n = 1..10000</a>
%H A386124 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386124 Flatten[Table[Select[FromDigits /@ Tuples[{1, 4, 6, 8}, n], PrimeQ], {n, 7}]]
%o A386124 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 4, 6, 8]];
%o A386124 (Python) print(list(islice(primes_with("1468"), 41))) # uses function/imports in A385776
%o A386124 (PARI) primes_with(, 1, [1, 4, 6, 8]) \\ uses function in A385776
%Y A386124 Supersequence of A260269, A260270, A385782.
%Y A386124 Cf. A000040, A030430, A385776.
%K A386124 nonn,base,easy
%O A386124 1,1
%A A386124 _Jason Bard_, Jul 17 2025