I'm a little confused on what you are asking.
For each photo block, what kind of rule are you using to select the number of photos? What do the four equations refer to? Can you write them down or explain the four equations in sufficient detail?
What is the basic idea you are using to select a photo given the past photos selected for past blocks? What are the details of the configuration of each block?