|
EXAMPLE
|
Some of the smallest solutions are:
[10, 11, 20, 22, 30, 33, 40, 44, 50, 55, 60, 66, 70, 77, 80, 88, 90, 99] (so a(2) = 18),
[100, 101, 105, 108, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 133, 140, 141, 144, 150, 151, 155, 160, 161, 166, 170, 171, 177, 180, 181, 188, 190, 191, 199, 200, 202, 210, 211, 212, 220, 221, 222, 223, 224, ...]
Note that 11 is in the sequence because permuting the two digits gives 11, and 11 divides 11.
|