This site is supported by donations to The OEIS Foundation. 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 Rick L. Shepherd, Table of n, a(n) for n = 1..625 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 Cf. A003617, A007809, A056830. Sequence in context: A123619 A187746 A030519 * A234299 A301355 A077246 Adjacent sequences:  A141113 A141114 A141115 * A141117 A141118 A141119 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified November 11 18:50 EST 2019. Contains 329031 sequences. (Running on oeis4.)