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.
%I A386114 #6 Jul 17 2025 02:55:22 %S A386114 3,7,11,13,17,31,37,61,67,71,73,113,131,137,163,167,173,311,313,317, %T A386114 331,337,367,373,613,617,631,661,673,677,733,761,773,1117,1163,1171, %U A386114 1361,1367,1373,1613,1637,1663,1667,1733,1777,3137,3163,3167,3313,3331,3361 %N A386114 Primes having only {1, 3, 6, 7} as digits. %H A386114 Jason Bard, <a href="/A386114/b386114.txt">Table of n, a(n) for n = 1..10000</a> %H A386114 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386114 Flatten[Table[Select[FromDigits /@ Tuples[{1, 3, 6, 7}, n], PrimeQ], {n, 7}]] %o A386114 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 3, 6, 7]]; %o A386114 (Python) print(list(islice(primes_with("1367"), 41))) # uses function/imports in A385776 %o A386114 (PARI) primes_with(, 1, [1, 3, 6, 7]) \\ uses function in A385776 %Y A386114 Supersequence of A260379, A260380, A260891, A385777. %Y A386114 Cf. A000040, A385776. %K A386114 nonn,base,easy %O A386114 1,1 %A A386114 _Jason Bard_, Jul 17 2025