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.

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

This page as a plain text file.
%I A385777 #21 Jul 20 2025 17:29:33
%S A385777 3,11,13,31,61,113,131,163,311,313,331,613,631,661,1163,1361,1613,
%T A385777 1663,3163,3313,3331,3361,3613,3631,6113,6131,6133,6163,6311,6361,
%U A385777 6661,11113,11131,11161,11311,11633,13163,13313,13331,13613,13633,16111
%N A385777 Primes having only {1, 3, 6} as digits.
%H A385777 Jason Bard, <a href="/A385777/b385777.txt">Table of n, a(n) for n = 1..10000</a>
%H A385777 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A385777 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 6}, n], PrimeQ], {n, 7}]]
%o A385777 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 6]];
%o A385777 (Python) print(list(islice(primes_with("136"), 41))) # uses function/imports in A385776
%o A385777 (PARI) primes_with(,1,[1,3,6]) \\ uses function in A385776
%Y A385777 Supersequence of A020451, A020454.
%Y A385777 Cf. A000040, A385776.
%K A385777 nonn,base,easy
%O A385777 1,1
%A A385777 _Jason Bard_, Jul 09 2025