Giorgos Giannoulakis
New member
- Joined
- Oct 4, 2022
- Messages
- 3
Hello to everyone!
I want to find all non - negative integers [math]0 \le k \le 10^7[/math] which have at least one of the digits [math]4,5,6[/math] in their decimal spread. My thought is this:
If [math]E_1[/math] is the eventuality that [math]k[/math] has at least one of the digits [math]4,5,6[/math] in its decimal spread then [math]E_1^c[/math] is the complementary eventuality which says that [math]k[/math] has none of the digits [math]4,5,6[/math] in its decimal spread so if we condiser the partition [math]Ω = E_1 \cup E_1^c[/math] of our sample space then it is easy to see that:
Thank you in advance!
I want to find all non - negative integers [math]0 \le k \le 10^7[/math] which have at least one of the digits [math]4,5,6[/math] in their decimal spread. My thought is this:
If [math]E_1[/math] is the eventuality that [math]k[/math] has at least one of the digits [math]4,5,6[/math] in its decimal spread then [math]E_1^c[/math] is the complementary eventuality which says that [math]k[/math] has none of the digits [math]4,5,6[/math] in its decimal spread so if we condiser the partition [math]Ω = E_1 \cup E_1^c[/math] of our sample space then it is easy to see that:
[math]\vert{E_1} \vert = \vert{Ω} \vert - \vert{E_1^c} \vert = 10^7 + 1 - 7^7 = 9176458[/math]
Am I wrong or right? The reason I am questioning myself is because I find this number very big for what the problem statesThank you in advance!
Last edited: