12*nCr(18,7)*(1/12)^7*(11/12)^11 = 0.0040925417608967
That is the probability of getting 7 in the same month but it includes the probability of getting 7 in 2 different months as well. I mean it includes it twice.
So you would have to subtract
18C7 * (1/12)^7 * (11/12)^11 * 11C7 * (1/12)^7 * (11/12)^4 * 12C2
nCr(18,7)*(1/12)^7*(11/12)^11*nCr(11,7)*(1/12)^7*(11/12)^4*nCr(12,2)=0.0000001463682172
I'm reasonably confident on the first part but have less confidence on the secontd part (the part to be subrtracted)
0.0040925417608967-0.0000001463682172 = 0.0040923953926795