Disclaimer: I'm just starting to read Sieve Methods by Halberstam and Richert, so my present knowledge of the subject is close to zero, but it made me wonder if some connection to physics could exist, so I dare share this question here.
As I said, I'm reading Halberstam and Richert's book on sieve theory, and as of now I just try to understand the very principle of sieving (sifting? Some help with English would be welcome too) a set of numbers.
Still, it seems one wants to minimize the error term in estimating the size of the considered set, so what we deal with is an optimization problem. That made me wonder if some variational principle like the maximal entropy principle or the least action principle which are widely used in physics could be used: namely can one define some "sieve action" from first principles depending on the specific problem to be solved, and whose extremum would lead to an optimal result?
What kind of mathematical tools would its implementation require? Have such ideas been suggested so far? If yes, could I get relevant references?