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.

A386036 Primes having only {0, 1, 6, 8} as digits.

This page as a plain text file.
%I A386036 #6 Jul 15 2025 08:28:05
%S A386036 11,61,101,181,601,661,811,881,1061,1181,1601,1801,1811,1861,6011,
%T A386036 6101,6661,8011,8081,8101,8111,8161,8681,8861,10061,10111,10181,10601,
%U A386036 10861,11161,11681,11801,16001,16061,16111,16661,16811,18061,18181,18661,60101,60161
%N A386036 Primes having only {0, 1, 6, 8} as digits.
%H A386036 Jason Bard, <a href="/A386036/b386036.txt">Table of n, a(n) for n = 1..10000</a>
%H A386036 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386036 Select[FromDigits /@ Tuples[{0, 1, 6, 8}, n], PrimeQ]
%o A386036 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 6, 8]];
%o A386036 (Python) print(list(islice(primes_with("0168"), 41))) # uses function/imports in A385776
%o A386036 (PARI) primes_with(, 1, [0, 1, 6, 8]) \\ uses function in A385776
%Y A386036 Subsequence of A030430.
%Y A386036 Supersequence of A061247, A199326, A385782.
%Y A386036 Cf. A000040, A385776.
%K A386036 nonn,base,easy
%O A386036 1,1
%A A386036 _Jason Bard_, Jul 14 2025