%I #11 Apr 25 2016 12:00:16
%S 2,23,3,13,11,17,7,37,43,31,19,41,101,61,103,71,47,73,67,79,97,29,229,
%T 293,307,53,5,59,359,83,283,311,107,131,109,151,113,137,181,127,191,
%U 139,211,149,241,157,251,163,271,167,281,173,313,193,317,179,331,197
%N Lexicographically earliest sequence of distinct prime numbers such that the decimal representations of two consecutive terms overlap.
%C Two terms are said to overlap:
%C - if the decimal representation of one term is contained in the decimal representation of the other term (for example, 23 and 3 overlap),
%C - or if, for some k>0, the first k decimal digits (without leading zero) of one term correspond to the k last decimal digits of the other term (for example, 317 and 179 overlap).
%C This is a variation of A262323 around the prime numbers.
%C Is this a permutation of the prime numbers?
%H Paul Tek, <a href="/A262702/b262702.txt">Table of n, a(n) for n = 1..35526</a>
%H Paul Tek, <a href="/A262702/a262702.pl.txt">PERL program for this sequence</a>
%e The first terms of the sequence are:
%e +----+--------+
%e | n | a(n) |
%e +----+--------+
%e | 1 | 2 |
%e | 2 | 23 |
%e | 3 | 3 |
%e | 4 | 13 |
%e | 5 | 11 |
%e | 6 | 17 |
%e | 7 | 7 |
%e | 8 | 37 |
%e | 9 | 43 |
%e | 10 | 31 |
%e | 11 | 19 |
%e | 12 | 41 |
%e | 13 | 101 |
%e | 14 | 61 |
%e | 15 | 103 |
%e | 16 | 71 |
%e | 17 | 47 |
%e | 18 | 73 |
%e | 19 | 67 |
%e | 20 | 79 |
%e | 21 | 97 |
%e | 22 | 29 |
%e | 23 | 229 |
%e | 24 | 293 |
%e | 25 | 307 |
%e +----+--------+
%o (Perl) See Links section.
%Y Cf. A076653, A262323.
%K nonn,look,base
%O 1,1
%A _Paul Tek_, Sep 27 2015