I was using the formula to find triples, but I can only find two of them.
the pythagorean triple associate with 102 are 102 136 170, 102 280 298, 102 864 870, 102 2600 2602,
$a = m^2 - n^2$ , $b = 2mn$ , $c = m^2 + n^2$
let $a = 102 = (m+n)(m-n)$
since m and n are odds
(m+n)(m-n) would be a multiply of 4, but 102 isn't a multiply of 4
There are no solution when a = 102
let b = 102, mn = 51
case 1 : m= 51, n=1 we get 102 2600 2602
case 2 : m= 17, n=3 we get 102 280 298
This is a common mistake. It's not the case that the formula you give finds all Pythagorean triples. Rather, the formula finds all primitive Pythagorean triples—triples whose greatest common divisor equals $1$. Furthermore, in that formula the $m$ and the $n$ should have opposite parity and be relatively prime.
Since $(m,n)=(51,1)$ and $(m,n)=(17,3)$ are the only relevant factorizations of $\frac{102}2$, and neither of them has integers with opposite parities, we conclude that there are no primitive Pythagorean triples at all with $102$ as a leg.
But we can also look for primitive Pythagorean triples with a leg that is a divisor of $102$, and scale it up appropriately. The divisors of $102$ are $1,2,3,6,17,34,51,102$, and doing this process on each of these divisors individually yields four primitive Pythagorean triples: $$ (3,4,5), \quad (17,144,145),\quad (51,140,149), \quad (51,1300,1301). $$ Multiplying these through by $34,6,2,2$ respectively gives the four triples listed in your answer.
The fact that the formula for primitive triples, when the primitivity is ignored, sometimes does produce some Pythagorean triples makes this mistake even easier to make. The moral of the story: we need to appreciate the exact wording of a theorem—including all its hypotheses and its precise conclusion.