The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A105993 Near-repunit semiprimes. 1
115, 118, 119, 121, 141, 161, 411, 511, 611, 1011, 1101, 1114, 1115, 1119, 1121, 1141, 1191, 1211, 1411, 1711, 5111, 7111, 9111, 11101, 11114, 11141, 11181, 11611, 11911, 13111, 14111, 17111, 18111, 19111, 31111, 61111, 91111, 110111, 111011, 111101 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(2)=118 is a term because 118 is a semiprime and all digits are 1 except one.
MATHEMATICA
Select[Sort[Flatten[Table[FromDigits/@Permutations[PadRight[{k}, n, 1]], {n, 3, 6}, {k, Range[0, 9]}]]], PrimeOmega[#]==2&&Length[Union[ IntegerDigits[ #]]]>1&] (* Harvey P. Dale, Jun 13 2020 *)
CROSSREFS
Sequence in context: A101111 A129823 A056035 * A036269 A036462 A020443
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Apr 29 2005
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 May 23 05:47 EDT 2024. Contains 372758 sequences. (Running on oeis4.)