Short answer:
My guess would beis that images with equal samplesit should have equal influencebe (transparency)
E.g50%. for five images: (click for full size)
Each image is rendered with 10 samples and isThe combined with an alphasamples of the images above it is ~20%750.
First image:

Combined result:

##Combining with an image with more samples Since, which is the outputsame as the number of each Alpha Over operation resultssamples in a image that is completely opaque, we can forget about the previous operations when combiningrendered image. Since the result with more imagesrendered image and treat the combined image as a renderimages are more or less equivalent, They should be combined with ~images*samples per image samplesa 50/50 mix. Basically all we need to do
Long answer:
Each image's opacity is add another alpha over node and set the Factor based on the number ofhow many samples of eachit has compared to the image above it.
To combineE.g. if you render 5 images with 10 samples each, the above stackedsecond image should be mixed with an image renderedthe first with a factor of 50.5 (or an alpha of 50%). This will effectively result in a 20 sample image (as you pointed out, it's not quite the same as 20 rendered samples we, but it's reasonably close), so the second image should usebe mixed with a factor of .533 because the total combined samples(alpha of the stacked images is approximately equal to 5033% as well:

Straight 50 sample render:
) and so on.
5Since the resulting combined 10image is basically a 750 sample renders combined withrender, it's the straight 50same number of samples as your 750 sample render:
. You can just tack it on top with a transparency of 50%.
