login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105978 Near-repdigit primes with at least two 6's as the repeated digit. 13
661, 6661, 666667, 66666667, 666666667, 6666666661, 66666666667, 666666666666666661, 66666666666666666667, 666666666666666666661, 6666666666666666666661, 66666666666666666666667, 6666666666666666666666666661 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..33 (* All terms with less than 1,000 digits *)
EXAMPLE
a(2)=6661 is a term because all digits are equal to 6 except one.
MATHEMATICA
Select[FromDigits/@Flatten[Table[PadLeft[{pd}, n, 6], {pd, {1, 7}}, {n, 3, 30}], 1], PrimeQ]//Sort (* Harvey P. Dale, Sep 01 2021 *)
CROSSREFS
Sequence in context: A243886 A145750 A243889 * A208180 A317396 A211839
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Apr 29 2005
EXTENSIONS
More terms from Harvey P. Dale, Sep 01 2021
Name clarified by Robert Price, Sep 10 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)