Numbers 1, 2, 3,...100 are written down on each of the cards A, B, C. One number is selected at random from each of the cards. One number is selected at random from each of the cards. Then find the probability that numbers so selected can be the measures of three sides of right angled triangles, no two of which are similar.
My Approach: One way to calculate number of combinations of three sides satisfying Pythagoras Theorem is manually there are 6 combinations (3, 4, 5), (5, 12,13) and so on. But if the number is large enough is there any mathematical way to find three numbers satisfying Pythagoras.