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 A381004 #23 Feb 13 2025 17:16:08 %S A381004 1777,2777,11777,19777,22777,26777,41777,43777,44777,47777,50777, %T A381004 53777,65777,67777,68777,71777,76777,79777,80777,83777,94777,97777, %U A381004 107777,110777,113777,115777,122777,124777,125777,131777,134777,136777,137777,145777,146777 %N A381004 Primes ending in 777. %H A381004 Harvey P. Dale, <a href="/A381004/b381004.txt">Table of n, a(n) for n = 1..1000</a> %F A381004 a(n) = 1000*A102343(n)+777. - _R. J. Mathar_, Feb 13 2025 %p A381004 select(isprime, [i*1000+777$i=1..150])[]; # _Alois P. Heinz_, Feb 12 2025 %t A381004 Select[Table[1000 n + 777, {n, 200}], PrimeQ] %o A381004 (PARI) select(x->((x % 1000)==777), primes(20000)) \\ _Michel Marcus_, Feb 12 2025 %o A381004 (PARI) select(isprime, vector(200, n, 1000*n+777)) \\ _Michel Marcus_, Feb 12 2025 %o A381004 (Python) %o A381004 from itertools import count, islice %o A381004 from sympy import isprime %o A381004 def A381004_gen(): # generator of terms %o A381004 return filter(isprime,count(777,1000)) %o A381004 A381004_list = list(islice(A381004_gen(),20)) # _Chai Wah Wu_, Feb 12 2025 %Y A381004 Cf. A193552. %K A381004 nonn,easy %O A381004 1,1 %A A381004 _Harvey P. Dale_, Feb 11 2025