This is not to aid a gambling habit. I am simply curious how to do this math.
You get dealt 3 cards. What are the odds of having any pair? (We can exclude 3 of a kind)
Total number of hands = $\begin{pmatrix}52 \\ 3\end{pmatrix}$ = 22100
What do I do next? (Added from response below)
How many ways can I get a pair of 2's, for example? $\begin{pmatrix}4 \\ 2\end{pmatrix}$ = 6 And there are 13 types of pairs I can get. So, 13x6 = 72. So, there is only a 72/22100 chance of being dealt a pair?
Supplemental: If there are 5 players, what are the odds at least 1 person is holding a pair?
Let's count the hands where you don't get a pair: For the first card, there are $52$ possibilities, for the second there are $48$ (since the cards of the first type are forbidden now) and for the third hand there are $44$ possibilities. Now for the hand, the order doesn't matter, so there are $$\frac{52\cdot 48\cdot 44}{6} = 18304$$ hands without a pair. Now the number of hands with a pair is $$\binom{52}{3} - 18304 = 3796.$$ Thus, the probability of getting a hand with a pair is $$\frac{3796}{22100} \approx 17.2\%.$$
EDIT: The above solution counts three of a kind as a hand with a pair. In the case that $3$ of a kind are forbidden, we have to subtract the $$\frac{52\cdot 3\cdot 2}{6} = 52$$ hands with $3$ of a kind. Now there are $$3796 - 52 = 3744$$ "good" hands, so the probability of getting a pair, but not three of a kind, is $$\frac{3744}{22100} \approx 16.9\%.$$