Tile my sequence

I've read a Quanta paper last week about tiling patterns and thought: "How could I tile a sequence?" The first idea was to use distinct integers whose digits would always sum up to 10 – the "tiles". 

The hereunder sequence A is already in the OEIS, of course – and so are A011557 (1), A052216 (2), A052217 (3), A052218 (4), A052219 (5), A052220 (6), A052221 (7), A052222 (8), A052223 (9), A166311 (11), A235151 (12), A143164 (13), A235225 (14), A235226 (15), A235227 (16), A166370 (17), A235228 (18), A166459 (19), A235229 (20):

A = 19, 28, 37, 46, 55, 64, 73, 82, 91, 109, 118, 127, 136, 145, 154, 163, 172, 181, 190, 208, 217, 226, 235, 244, 253, 262, 271, 280, 307, 316, 325, 334, 343, 352, 361, 370, 406, 415, 424, 433, 442, 451, 460, 505, 514, 523, 532, 541, 550, 604, 613, 622, 631, 640,...

Then I thought, ok, what about distinct pairs of integers whose sum would always be 10? B is not in the OEIS:

B = 0, 19, 1, 9, 2, 8, 3, 7, 4, 6, 5, 14, 10, 18, 11, 17, 12, 16, 13, 15, 20, 26, 21, 25, 22, 24, 23, 32, ...

To imagine C was easy (triples instead of pairs):

C = 0, 1, 9, 2, 3, 5, 4, 10, 14, 6, 11, 20, 7, 100, 101, 8, 1000, 10000, 12, 13, 21, 15, 30, 100000, 16, 110, 1000000, ...

Then came the idea of D (which is now in the OEIS, thanks to Michael S. Branicky): "Lexicographically earliest sequence of distinct nonnegative terms arranged in successive chunks whose digitsum = 10."

D = 0, 1, 2, 3, 4, 5, 10, 11, 20, 6, 12, 100, 7, 21, 8, 101, 9, 1000, 13, 14, 10000, 15, 22, 16, 30, 17, 110, 18, 100000, 19, 23, 31, 1000000, 24, 40, 25, 102, 26, 200, 27, 10000000, 28, 32, 41, 33, 103, 34, 111, 35, 1001, 36, 100000000, 37, 42, 112, 43, 120, 44, 1010, 45, 1000000000, ...
Michael writes: "a(6492) has 1001 digits" – waow!
The hereunder sequence E (corrected and kindly extended by Michael S. Branicky) could ask those chunks to be "linked" (the last digit d of a "tile" is the same as the first digit of the next "tile", with d > 0):

E = 0, 1, 2, 3, 4, 40, 6, 60, 10, 12, 20, 5, 21, 11, 8, 80, 101, 13, 15, 50, 14, 41, 23, 30, 7, 70, 100, 1001, 16, 102, ... 

The sequence E will be submitted soon to the OEIS (done, here). Other definitions of such "tiles", linked or not, might be interesting to explore.

































Commentaires

Posts les plus consultés de ce blog

A square for three (chess)

Le tripalin se présente

Some strings au cinéma Galeries