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.
Question
phil1882
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.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.