Possibly right answer
To find the number in the middle of a strip,
This suggests that the required code is
Certainly wrong answer posted earlier, left here so as not to hide my old mistakes:
I will be astonished if this is the intended answer, but it is consistent with the information provided [EDITED to add: ... no, it turned out not to be, because I'd ...