A360830 Numbers that when concatenated with the natural numbers from 1 to N are divisible by the corresponding order number.
1, 3, 6, 42, 84, 252, 2772, 36036, 612612, 11639628, 267711444, 803134332, 23290895628, 722017764468, 1444035528936, 53429314570632, 2190601897395912, 94195881588024216, 4427206434637138152, 30990445042459967064
Offset: 1
Examples
42 goes after 6, because it is the smallest number that can go more than the 6th floor that can go number 6. 421, 422, 423, 424, 425, 426 and 427 are divisible by 1, 2, 3, 4, 5, 6 and 7, but 42 cannot go to floor 8th, because 428 it is not divisible by 8. n | a(n) | Maximum Elevator floor --------------------------------------------------- 1 | 1 | 2 2 | 3 | 3 3 | 6 | 6 4 | 42 | 7 5 | 84 | 8 6 | 252 | 10 7 | 2772 | 12 8 | 36036 | 16 9 | 612612 | 18 10 | 11639628 | 22 11 | 267711444 | 26 12 | 803134332 | 28 13 | 23290895628 | 30 14 | 722017764468 | 31 15 | 1444035528936 | 36 16 | 53429314570632 | 40 17 | 2190601897395912 | 42 18 | 94195881588024216 | 46 19 | 4427206434637138152 | 48 20 | 30990445042459967064 | 52 ...
References
- Jaime Poniachik, Problem El Ascensor, La Odisea del Ingenio, May 1990.
Comments