%I #16 Apr 19 2020 05:21:50
%S 0,1,9,10,2,18,100,3,20,4,30,5,40,6,50,7,60,8,70,200,11,99,300,12,108,
%T 972,107,963,106,954,105,945,104,936,103,927,102,918,101,909,1000,13,
%U 117,1053,116,1044,115,1035,114,1026,113,1017,112,1008,111,999,110,990,109,981,2000,14
%N a(0) = 0; for n > 0, a(n) = the smallest positive integer not yet appearing in the sequence such that a(n1) + a(n) contains as a substring either a(n1) or a(n).
%H Rémy Sigrist, <a href="/A333774/b333774.txt">Table of n, a(n) for n = 0..10000</a>
%H Rémy Sigrist, <a href="/A333774/a333774_1.gp.txt">PARI program for A333774</a>
%e a(1) = 1 as a(0) = a(1) = 0 + 1 = 1 which contains '1' as a substring.
%e a(2) = 9 as a(1) + a(2) = 1 + 9 = 10 which contains '1' as a substring.
%e a(4) = 2 as a(3) + a(4) = 10 + 2 = 12 which contains '2' as a substring
%e a(49) = 1026 as a(48) + a(49) = 114 + 1026 = 1140 which contains '114' as a substring.
%o (PARI) See Links section.
%Y Cf. A333775, A333811, A332795, A332703.
%K nonn,base
%O 0,3
%A _Scott R. Shannon_, Apr 05 2020
