place the digits 1-n where n is 4 such that no consecutive digit of any step value, starting at step value, repeats.
here's an example where n is 2.
0 1 0 2 1 0 2 1 2 0 1 ?
1 2 3 4 5 6 7 8 9 10 11 12
here starting from 1 and going a step of 1, there are no repeats. starting from 2 and going a step of 2, no repeats, and so on. However there is no way to get 12 without repeating.
heres an alternate version that i came up with,
place the digits 1-n where n is 4 such that no consecutive digit of any step value, starting at step value, repeats.
here's an example where n is 2.
0 1 0 2 1 0 2 1 2 0 1 ?
1 2 3 4 5 6 7 8 9 10 11 12
here starting from 1 and going a step of 1, there are no repeats. starting from 2 and going a step of 2, no repeats, and so on. However there is no way to get 12 without repeating.
your task is to find the max value for 4.
Share this post
Link to post
Share on other sites