%I #53 Nov 04 2023 21:52:31
%S 2,1,3,10,100,5,20,7,4,11,110,13,12,1000,17,200,19,21,10000,23,6,29,
%T 1001,31,14,100000,37,22,41,1010,43,30,1000000,47,15,53,24,59,1100,61,
%U 32,10000000,67,40,71,2000,73,33,79,102,100000000,83,42,89,8,97,111,1000000000,101,10001,103,112,107,10010,109
%N The primes appear in their natural order and the absolute difference between two successive primes is the sum of the digits between them.
%C Lexicographically earliest sequence of distinct positive terms with this property. It is conjectured that the sequence is a permutation of the integers > 1.
%H David A. Corneth, <a href="/A340063/b340063.txt">Table of n, a(n) for n = 1..8564</a> (terms < 10^999; first 515 terms from Carole Dubois)
%e prime 2 + (1) = prime 3;
%e prime 3 + (1+0 + 1+0+0) = prime 5; (we do not put 2 between 5 and 7 as 2 is in the sequence already and not 20 as 10 is lexicographically earlier along with 100 gives the digital sum 2).
%e prime 5 + (2+0) = prime 7;
%e prime 7 + (4) = prime 11;
%e prime 11 + (1+1+0) = prime 13;
%e prime 13 + (1+2 + 1+0+0+0) = 17; etc.
%Y Cf. A000040 (the prime numbers), A001223 (prime gaps), A052216, A052217.
%K nonn,base
%O 1,1
%A _Eric Angelini_, Dec 27 2020