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.

A383978 Primes with at least two identical trailing digits.

This page as a plain text file.
%I A383978 #20 May 20 2025 19:12:44
%S A383978 11,199,211,233,277,311,433,499,577,599,677,733,811,877,911,977,1033,
%T A383978 1277,1399,1433,1499,1511,1699,1733,1777,1811,1877,1933,1999,2011,
%U A383978 2099,2111,2311,2333,2377,2399,2411,2477,2633,2677,2699,2711,2777,2833,2999,3011,3299
%N A383978 Primes with at least two identical trailing digits.
%H A383978 Robert Israel, <a href="/A383978/b383978.txt">Table of n, a(n) for n = 1..10000</a>
%p A383978 select(isprime, [seq(seq(i*100 + j*11, j = [1,3,7,9]),i=0..100)]); # _Robert Israel_, May 17 2025
%t A383978 Select[Prime[Range[500]],Part[d=IntegerDigits[#],l=IntegerLength[#]]==Part[d,l-1] &]
%o A383978 (Python)
%o A383978 from sympy import isprime
%o A383978 from itertools import count, islice
%o A383978 def agen(): # generator of terms
%o A383978     yield from filter(isprime, (i+k for i in count(0, 100) for k in (11, 33, 77, 99)))
%o A383978 print(list(islice(agen(), 50))) # _Michael S. Branicky_, May 20 2025
%Y A383978 Cf. A131306, A383979, A384013, A384015.
%Y A383978 Subsequence of A050758.
%Y A383978 Cf. A061022 (variant).
%K A383978 nonn,base
%O A383978 1,1
%A A383978 _Stefano Spezia_, May 16 2025