login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A372056
Smallest prime obtained by appending one or more 3's to n, or -1 if no such prime exists.
4
13, 23, -1, 43, 53, -1, 73, 83, -1, 103, 113, -1, 1333333333333333, 1433, -1, 163, 173, -1, 193, 20333, -1, 223, 233, -1, 2533333333, 263, -1, 283, 293, -1, 313, 323333, -1, 3433, 353, -1, 373, 383, -1
OFFSET
1,1
COMMENTS
Next term is 40 followed by 483 3's and is too large to display here (see the b-file).
LINKS
EXAMPLE
For n = 13, a(13) = 1333333333333333 is a prime (but 133,1333,13333 etc. are not primes).
CROSSREFS
See A112394 for another version.
Sequence in context: A301962 A298235 A111676 * A363482 A058030 A347344
KEYWORD
base,sign
AUTHOR
Toshitaka Suzuki, Mar 30 2024
EXTENSIONS
Edited by N. J. A. Sloane, Apr 24 2024
STATUS
approved