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.

A386130 Primes having only {1, 5, 6, 8} as digits.

This page as a plain text file.
%I A386130 #6 Jul 17 2025 19:36:31
%S A386130 5,11,61,151,181,661,811,881,1151,1181,1511,1811,1861,5581,5651,5851,
%T A386130 5861,5881,6151,6551,6581,6661,8111,8161,8581,8681,8861,11161,11551,
%U A386130 11681,15161,15511,15551,15581,15661,15881,16111,16561,16651,16661,16811,18181,18661
%N A386130 Primes having only {1, 5, 6, 8} as digits.
%H A386130 Jason Bard, <a href="/A386130/b386130.txt">Table of n, a(n) for n = 1..10000</a>
%H A386130 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386130 Flatten[Table[Select[FromDigits /@ Tuples[{1, 5, 6, 8}, n], PrimeQ], {n, 7}]]
%o A386130 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 5, 6, 8]];
%o A386130 (Python) print(list(islice(primes_with("1568"), 41))) # uses function/imports in A385776
%o A386130 (PARI) primes_with(, 1, [1, 5, 6, 8]) \\ uses function in A385776
%Y A386130 Supersequence of A385779, A385780, A385782.
%Y A386130 Cf. A000040, A030430, A385776.
%K A386130 nonn,base,easy
%O A386130 1,1
%A A386130 _Jason Bard_, Jul 17 2025