Hello!
There are 10^4 pins at all. Denote the set of pins that contain no 1's as B_1 and that contain no 3's as B_3.
We'll use the formula n(A uu B) = n(A)+n(B)-n(A nn B) which is true for any finite sets, particularly for B_1 and B_3 (n(()) means the number of elements).
The set of pins that contain 1 AND contain 3 is the complement of those which don't contain 1 OR don't contain 3, i.e. (B_1 uu B_3)^C. The number of pins in this set is 10^4 - n(B_1 uu B_3). By the above formula it is
10^4 - (n(B_1)+n(B_3)-n(B_1 nn B_3)).
It is clear that n(B_1)=9^4 (any number except 1 at any of 4 positions), and n(B_3) is the same. n(B_1 nn B_3) is the number of pins that don't contain 1 AND don't contain 3, there are 8^4 of those (any number except 1 and 3 at any position).
So the answer is 10^4 - (9^4+9^4-8^4)=10^4+8^4-2*9^4 = 974.
There are too many variants to try, it is necessary to recall the pin. Try the following trick: imagine that you want to set a new pin, what could it be?
Friday, May 9, 2014
Hello, I need help, I cant remember my cell phone pin i set last night. It is a four digit number using numbers 0-9, the only thing i remember is it does contain 1 and 3. How many possible combinations could there possibly be? I don't want to reset it, I will lose all my information.
Subscribe to:
Post Comments (Atom)
Summarize the major research findings of "Toward an experimental ecology of human development."
Based on findings of prior research, the author, Bronfenbrenner proposes that methods for natural observation research have been applied in ...
-
One way to support this thesis is to explain how these great men changed the world. Indeed, Alexander the Great (356–323 BC) was the quintes...
-
Polysyndeton refers to using several conjunctions in a row to achieve a dramatic effect. That can be seen in this sentence about the child: ...
-
Both boys are very charismatic and use their charisma to persuade others to follow them. The key difference of course is that Ralph uses his...
-
At the most basic level, thunderstorms and blizzards are specific weather phenomena that occur most frequently within particular seasonal cl...
-
Equation of a tangent line to the graph of function f at point (x_0,y_0) is given by y=y_0+f'(x_0)(x-x_0). The first step to finding eq...
-
Population policy is any kind of government policy that is designed to somehow regulate or control the rate of population growth. It include...
-
Gulliver cooperates with the Lilliputians because he is so interested in them. He could, obviously, squash them underfoot, but he seems to b...
No comments:
Post a Comment