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!)
A141116 Smallest n-digit prime with no identical adjacent digits (or 0 if no such prime exists). 1
2, 13, 101, 1013, 10103, 101021, 1010129, 10101023, 101010157, 1010101039, 10101010163, 101010101063, 1010101010131, 10101010101019, 101010101010131, 1010101010101037, 10101010101010141, 101010101010101083 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For n >= 1, a(n) >= A056830(n), the least n-digit positive integer with no identical adjacent digits (also the least positive integer whose digits occur in n runs). Conjecture: For all n, a(n) <> 0.
If the conjecture is true, then this sequence and the following two sequences are equivalent: i) Smallest prime with exactly n runs of digits and ii) Smallest prime with at least n runs of digits. For each n <= 625, a(n) is an n-digit prime (provided that each probable prime shown in the link is indeed a prime -- or at least one of very many (slightly) larger probable prime candidates is prime).
As each a(n) shown is very near A056830(n), I believe it is extremely unlikely that a randomly-given n would yield a 0 term (but I don't have a proof for arbitrary n).
LINKS
EXAMPLE
a(4) = 1013 because 1013 is the smallest 4-digit prime having no identical adjacent digits; the only smaller 4-digit prime, 1009, is disqualified by the "00", identical adjacent digits (of run length 2). Also each digit, 1, 0, 1, 3, occurs in a run of identical digits of length 1 for a total of 4 runs with 1013 being the smallest prime of any length with 4 runs of digits.
CROSSREFS
Sequence in context: A341954 A187746 A030519 * A330349 A234299 A301355
KEYWORD
base,nonn
AUTHOR
Rick L. Shepherd, Jun 05 2008
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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)