Re thinkingThanks! It works for all cases except...[LIST] starting hole is not 1 and 9/18 is 9. In the table, rows 6,8,9
17 - 9 - 7 (17+9-1-18 = 7)
18 - 9 - 8 (18+9-1 = 8)
10 - 9 - 18 (10+9-1 = 18)
Basically, we need to recount starting from 1, after the summation goes over 18, if not remain as is.
I subtract 1 just to include the starting hole or its over by 1 all the time.
Bookmarks