How many integers $n$ are there such that $1\leq n \leq 200$ and $n$ is not divisible by 2 nor 5?
Here is just my trying. By the hypothesis I just let by contradiction. It means that I find the integers $n$ that is divisible by $2$ or $5$.
$n=2k_1$ and $n=5k_2$ for $k_1,k_2\in\mathbb{N}$.So that I can write
$$0\leq n\leq 200$$ $$0\leq 2k_1\leq200$$ $$0\leq k_1\leq 100$$ So there are $100$ integers of $k_1$ that satisfies that n is divisible by $2$.
By the same way I get $$0 \leq k_2 \leq 40$$ So there are $40$ integers of $k_1$ that satisfies that n is divisible by $5$. But I find the n that is divisible by $2$ and $5$. Since $LCM(2,5)=10$. Let $n=10k_3$
By the Same way I get $$0\leq k_3 \leq 20$$ So there are 20 integers of $k_3$ that satisfies $n$ is divisible by 2 and 5.
Hence there are 120 integers of n that is divisible by $2$ nor $5$. By contradiction there are 80 integers of n that is being find.
So please help to tell me ! That is right or wrong. If you have other hints help to tell me.
I wouldn't call this approach "by contradiction;" rather, if anything, it is typically referred to as the complementary approach. Want to find a quantity satisfying a condition? The complementary approach is to find the overall quantity disregarding such a condition, and then subtract off the ones not satisfying that condition.
Your reasoning is also okay, but it could be a bit more succinct. Here's how I would do it ...
Define
$$A_n := \{ k \in \Bbb Z \mid k \in [1,200] \text{ and } n \text{ divides } k \}$$
Thus, for instance, $A_2 = \{2,4,6,\cdots,200\}$.
In your problem, you want to find those integers $n \in [1,200]$ where neither $2$ nor $5$ divide $n$. The complementary approach, then, is to note that you have $200$ possible numbers, and then subtract off the invalid ones. Thus, you would subtract off $|A_2|$ and $|A_5|$. But beware! This "double subtracts" the members of $|A_{10}|$ since all multiples of ten are in both sets. (This is a particular instance of the principle of inclusion and exclusion.) Thus you have to add back $|A_{10}|$.
Thus, the quantity you seek is
$$200 - |A_2| - |A_5| + |A_{10}|$$
The benefit of this framing is that, if $n$ divides $200$, then $|A_n| = 200/n$, making this calculation satisfyingly easily. We see that it is, for you,
$$200 - 100 - 40 + 20 = 80$$
as you proposed!
Your method is not invalid, but I feel like this framing of the problem makes everything a lot easier to follow, personally. For instance, you don't have to go through every series of inequalities; the definition of the $A_n$ makes those results almost obvious, and generalizes all three cases you check. But on the other hand, if you prefer your method and framing, feel free to use it - probably a matter of preference in the end.