login
Comma transform of A367362.
1

%I #13 Dec 11 2023 23:09:52

%S 11,22,33,44,55,66,77,88,99,11,11,12,13,14,15,16,17,18,19,22,21,22,23,

%T 24,25,26,27,28,29,33,31,32,33,34,35,36,37,38,39,44,41,42,43,44,45,46,

%U 47,48,49,55,51,52,53,54,55,56,57,58,59,66,61,62,63,64,65,66,67,68,69,77,71,72,73,74,75,76,77,78,79

%N Comma transform of A367362.

%C This is the second-order comma transform of the nonnegative integers.

%C See A367360 for further information.

%H N. J. A. Sloane, <a href="/A367610/b367610.txt">Table of n, a(n) for n = 1..9999</a>

%o (Python)

%o from itertools import count, islice, pairwise

%o def S(): yield from (str(i) for i in count(0))

%o def C(): yield from (str(int(t[-1]+u[0])) for t, u in pairwise(S()))

%o def a(): yield from (int(t[-1]+u[0]) for t, u in pairwise(C()))

%o print(list(islice(a(), 80))) # _Michael S. Branicky_, Dec 11 2023

%Y Cf. A367360, A367362.

%K nonn,base,look

%O 1,1

%A _N. J. A. Sloane_, Dec 11 2023