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 A105978 #21 Jul 29 2025 00:22:12 %S A105978 661,6661,666667,66666667,666666667,6666666661,66666666667, %T A105978 666666666666666661,66666666666666666667,666666666666666666661, %U A105978 6666666666666666666661,66666666666666666666667,6666666666666666666666666661 %N A105978 Near-repdigit primes with at least two 6's as the repeated digit. %H A105978 Harvey P. Dale, <a href="/A105978/b105978.txt">Table of n, a(n) for n = 1..33</a> (All terms with less than 1,000 digits) %e A105978 a(2)=6661 is a term because all digits are equal to 6 except one. %t A105978 Select[FromDigits/@Flatten[Table[PadLeft[{pd},n,6],{pd,{1,7}},{n,3,30}],1],PrimeQ]//Sort (* _Harvey P. Dale_, Sep 01 2021 *) %Y A105978 Cf. A105976, A105978, A105979, A105980, A105982, A365592, A365596, A365597, A365598. %K A105978 base,nonn %O A105978 1,1 %A A105978 _Shyam Sunder Gupta_, Apr 29 2005 %E A105978 More terms from _Harvey P. Dale_, Sep 01 2021 %E A105978 Name clarified by _Robert Price_, Sep 10 2023