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.

A386136 Primes having only {1, 6, 7, 9} as digits.

This page as a plain text file.
%I A386136 #6 Jul 17 2025 20:13:39
%S A386136 7,11,17,19,61,67,71,79,97,167,179,191,197,199,617,619,661,677,691,
%T A386136 719,761,769,797,911,919,967,971,977,991,997,1117,1171,1619,1667,1669,
%U A386136 1697,1699,1777,1979,1997,1999,6197,6199,6619,6661,6679,6691,6719,6761,6779
%N A386136 Primes having only {1, 6, 7, 9} as digits.
%H A386136 Jason Bard, <a href="/A386136/b386136.txt">Table of n, a(n) for n = 1..10000</a>
%H A386136 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a>
%t A386136 Flatten[Table[Select[FromDigits /@ Tuples[{1, 6, 7, 9}, n], PrimeQ], {n, 7}]]
%o A386136 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 6, 7, 9]];
%o A386136 (Python) print(list(islice(primes_with("1679"), 41))) # uses function/imports in A385776
%o A386136 (PARI) primes_with(, 1, [1, 6, 7, 9]) \\ uses function in A385776
%Y A386136 Supersequence of A260891, A260893, A261184, A363023.
%Y A386136 Cf. A000040, A385776.
%K A386136 nonn,base,easy
%O A386136 1,1
%A A386136 _Jason Bard_, Jul 17 2025