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!)
A068104 Smallest prime starting with n 3s. 17
2, 3, 331, 3331, 33331, 333331, 3333331, 33333331, 3333333319, 33333333329, 333333333323, 3333333333301, 33333333333319, 333333333333307, 3333333333333301, 33333333333333323, 333333333333333331 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
MATHEMATICA
Join[{2, 3}, Table[SelectFirst[Join[10FromDigits[PadRight[{}, k, 3]]+{1, 7, 9}, Flatten[Table[100 FromDigits[PadRight[{}, k, 3]]+10n+{1, 3, 7, 9}, {n, 0, 9}]], Flatten[Table[1000 FromDigits[PadRight[{}, k, 3]]+100n+{1, 3, 7, 9}, {n, 0, 99}]]], PrimeQ], {k, 2, 20}]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 01 2019 *)
CROSSREFS
Sequence in context: A004876 A307212 A177505 * A065586 A110931 A355323
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Feb 20 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 19 2002
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 15 10:39 EDT 2024. Contains 372540 sequences. (Running on oeis4.)