I wonder if anybody can help me solve the following problem:
Three numbers are chosen from the first $n$ natural numbers. What is the probability that they can be sides of a triangle?
NOTE: The sides can be equal.
I wonder if anybody can help me solve the following problem:
Three numbers are chosen from the first $n$ natural numbers. What is the probability that they can be sides of a triangle?
NOTE: The sides can be equal.
If A=B, then C is a multiple of sqrt(2) for a right triangle. Ignore right triangles for now. If A+B > C, you have 100% chance of making a triangle. If A+B=C, the triangle is 2d and does not qualify. If A+B < C, you have three joined line segments that do not meet at two ends.
If you want Pythagorean triplets, you will need formulas for A, B, and C that use two natural numbers to specify each. (I have developed such formulas for a paper I am writing if you want them.) From there you will have to combine the chances of each of the three points as in regular probability calculations.