%I #22 Nov 18 2023 13:13:00
%S 5,61,78,159,251,263,295,348,432,456,521,536,602,628,715,772,799,897,
%T 976,1037,1108,1189,1280,1281,1292,1313,1344,1385,1436,1497,1568,1649,
%U 1740,1741,1752,1773,1804,1845,1896,1957,2029,2121,2133,2165,2217,2289,2381,2393,2425
%N Analog of A121805, but starting with 5.
%C This sequence is finite, with last term a(19706) = 999945.
%H N. J. A. Sloane, <a href="/A367337/b367337.txt">Table of n, a(n) for n = 1..19706</a>
%o (Python)
%o from itertools import islice
%o def agen(start=5): # generator of terms
%o an, y = start, 1
%o while y < 10:
%o yield an
%o an, y = an + 10*(an%10), 1
%o while y < 10:
%o if str(an+y)[0] == str(y):
%o an += y
%o break
%o y += 1
%o print(list(agen())) # _Michael S. Branicky_, Nov 18 2023
%Y Comma sequences in base 10, starting with 1, 2, 4, 5, 6, 7, 8, 9, 10 are A121805, A139284, A366492, A367337, A367350, A367351, A367352, A367353, A367354. Starting with 3 is trivial, and those starting with 11, 12, 13 are essentially duplicates.
%Y Cf. A330128, A330129.
%K nonn,base,fini,full
%O 1,1
%A _N. J. A. Sloane_, Nov 14 2023