A330238 Triangle T(n,k): concatenate the absolute differences of the digits of n and k (the smaller one padded with leading zeros); n >= k >= 1.
0, 1, 0, 2, 1, 0, 3, 2, 1, 0, 4, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 6, 5, 4, 3, 2, 1, 0, 7, 6, 5, 4, 3, 2, 1, 0, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11, 12, 13, 14, 15, 16, 17, 18, 19, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 1, 0, 11, 10, 11, 12, 13, 14, 15, 16, 17, 2, 1, 0, 12, 11, 10, 11, 12, 13, 14, 15, 16, 3, 2, 1, 0, 13, 12, 11, 10, 11, 12, 13, 14, 15, 4, 3, 2, 1, 0
Offset: 1
Examples
The triangle starts as follows: n | k=1 2 3 4 5 6 7 8 9 10 11 ---+------------------------------------------- 1 | 0, 2 | 1, 0, 3 | 2, 1, 0, 4 | 3, 2, 1, 0, 5 | 4, 3, 2, 1, 0, 6 | 5, 4, 3, 2, 1, 0, 7 | 6, 5, 4, 3, 2, 1, 0, 8 | 7, 6, 5, 4, 3, 2, 1, 0, 9 | 8, 7, 6, 5, 4, 3, 2, 1, 0, 10 | 11, 12, 13, 14, 15, 16, 17, 18, 19, 0, 11 | 10, 11, 12, 13, 14, 15, 16, 17, 18, 1, 0, 12 | 11, 10, 11, 12, 13, 14, 15, 16, 17, 2, 1, 0, (...)
Links
- Eric Angelini, The box ■ operation, personal blog "Cinquante signes", and post to the SeqFan list, Dec 06 2019.
- Eric Angelini, The box ■ operation, personal blog "Cinquante signes", and post to the SeqFan list, Dec 06 2019. [Cached copy]
Comments