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.

A386100 Primes having only {1, 2, 6, 8} as digits.

This page as a plain text file.
%I A386100 #6 Jul 17 2025 00:49:59
%S A386100 2,11,61,181,211,281,661,811,821,881,1181,1621,1811,1861,2111,2161,
%T A386100 2221,2281,2621,2861,6121,6211,6221,6661,8111,8161,8221,8681,8821,
%U A386100 8861,11161,11261,11621,11681,11821,12161,12211,12281,12611,12821,16111,16661,16811,18121
%N A386100 Primes having only {1, 2, 6, 8} as digits.
%H A386100 Jason Bard, <a href="/A386100/b386100.txt">Table of n, a(n) for n = 1..10000</a>
%H A386100 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386100 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 6, 8}, n], PrimeQ], {n, 7}]]
%o A386100 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 6, 8]];
%o A386100 (Python) print(list(islice(primes_with("1268"), 41))) # uses function/imports in A385776
%o A386100 (PARI) primes_with(, 1, [1, 2, 6, 8]) \\ uses function in A385776
%Y A386100 Supersequence of A385774, A385775, A385782.
%Y A386100 Cf. A000040, A030430, A385776.
%K A386100 nonn,base,easy
%O A386100 1,1
%A A386100 _Jason Bard_, Jul 17 2025