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.

A386115 Primes having only {1, 3, 6, 8} as digits.

This page as a plain text file.
%I A386115 #6 Jul 17 2025 02:55:26
%S A386115 3,11,13,31,61,83,113,131,163,181,311,313,331,383,613,631,661,683,811,
%T A386115 863,881,883,1163,1181,1361,1381,1613,1663,1811,1831,1861,3163,3181,
%U A386115 3313,3331,3361,3613,3631,3833,3863,3881,6113,6131,6133,6163,6311,6361,6661,6833
%N A386115 Primes having only {1, 3, 6, 8} as digits.
%H A386115 Jason Bard, <a href="/A386115/b386115.txt">Table of n, a(n) for n = 1..10000</a>
%H A386115 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386115 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 6, 8}, n], PrimeQ], {n, 7}]]
%o A386115 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 6, 8]];
%o A386115 (Python) print(list(islice(primes_with("1368"), 41))) # uses function/imports in A385776
%o A386115 (PARI) primes_with(, 1, [1, 3, 6, 8]) \\ uses function in A385776
%Y A386115 Supersequence of A385777, A385778, A385782, A385791.
%Y A386115 Cf. A000040, A385776.
%K A386115 nonn,base,easy
%O A386115 1,1
%A A386115 _Jason Bard_, Jul 17 2025