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.

A386099 Primes having only {1, 2, 6, 7} as digits.

This page as a plain text file.
%I A386099 #6 Jul 17 2025 00:49:54
%S A386099 2,7,11,17,61,67,71,127,167,211,227,271,277,617,661,677,727,761,1117,
%T A386099 1171,1217,1277,1621,1627,1667,1721,1777,2111,2161,2221,2267,2617,
%U A386099 2621,2671,2677,2711,2767,2777,6121,6211,6217,6221,6271,6277,6661,6761,7121,7127
%N A386099 Primes having only {1, 2, 6, 7} as digits.
%H A386099 Jason Bard, <a href="/A386099/b386099.txt">Table of n, a(n) for n = 1..10000</a>
%H A386099 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386099 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 6, 7}, n], PrimeQ], {n, 7}]]
%o A386099 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 6, 7]];
%o A386099 (Python) print(list(islice(primes_with("1267"), 41))) # uses function/imports in A385776
%o A386099 (PARI) primes_with(, 1, [1, 2, 6, 7]) \\ uses function in A385776
%Y A386099 Supersequence of A260889, A260891, A385774, A385787.
%Y A386099 Cf. A000040, A385776.
%K A386099 nonn,base,easy
%O A386099 1,1
%A A386099 _Jason Bard_, Jul 17 2025