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 A386092 #7 Jul 16 2025 23:39:00 %S A386092 2,11,41,61,211,241,421,461,641,661,1621,2111,2141,2161,2221,2411, %T A386092 2441,2621,4111,4211,4241,4261,4421,4441,4621,6121,6211,6221,6421, %U A386092 6661,11161,11261,11411,11621,12161,12211,12241,12421,12611,12641,14221,14411,14461,14621 %N A386092 Primes having only {1, 2, 4, 6} as digits. %H A386092 Jason Bard, <a href="/A386092/b386092.txt">Table of n, a(n) for n = 1..10000</a> %H A386092 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386092 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 4, 6}, n], PrimeQ], {n, 7}]] %o A386092 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 4, 6]]; %o A386092 (Python) print(list(islice(primes_with("1246"), 41))) # uses function/imports in A385776 %o A386092 (PARI) primes_with(, 1, [1, 2, 4, 6]) \\ uses function in A385776 %Y A386092 Supersequence of A260267, A260269, A385774. %Y A386092 Cf. A000040, A030430, A385776. %K A386092 nonn,base,easy %O A386092 1,1 %A A386092 _Jason Bard_, Jul 16 2025