Apologies. I misread the question last time that I answered. To find P(d>= 2), you calculate 1- P(0) - P(1).
the formula is correct for 0 and 1, just not necessary as
P(0) = .99925 (25 tries no defect) and
P(1) = 25 *(.001)(.999)24
Both of these obey the equation for n=25 and k = 0 and 1