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.

A386119 Primes having only {1, 4, 5, 6} as digits.

This page as a plain text file.
%I A386119 #6 Jul 17 2025 07:15:33
%S A386119 5,11,41,61,151,461,541,641,661,1151,1451,1511,4111,4441,4451,4561,
%T A386119 4651,5441,5641,5651,6151,6451,6551,6661,11161,11411,11551,14411,
%U A386119 14461,14551,14561,15161,15451,15461,15511,15541,15551,15641,15661,16111,16141,16411,16451
%N A386119 Primes having only {1, 4, 5, 6} as digits.
%H A386119 Jason Bard, <a href="/A386119/b386119.txt">Table of n, a(n) for n = 1..10000</a>
%H A386119 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386119 Flatten[Table[Select[FromDigits /@ Tuples[{1, 4, 5, 6}, n], PrimeQ], {n, 7}]]
%o A386119 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 4, 5, 6]];
%o A386119 (Python) print(list(islice(primes_with("1456"), 41))) # uses function/imports in A385776
%o A386119 (PARI) primes_with(, 1, [1, 4, 5, 6]) \\ uses function in A385776
%Y A386119 Supersequence of A260268, A260269, A385779.
%Y A386119 Cf. A000040, A030430, A385776.
%K A386119 nonn,base,easy
%O A386119 1,1
%A A386119 _Jason Bard_, Jul 17 2025