Difference between revisions of "2021 April MIMC 10 Problems/Problem 15"

(Created page with "Paul wrote all positive integers that's less than <math>2021</math> and wrote their base <math>4</math> representation. He randomly choose a number out the list. Paul insist t...")
 
(Solution)
 
Line 3: Line 3:
 
<math>\textbf{(A)} ~30 \qquad\textbf{(B)} ~62 \qquad\textbf{(C)} ~64 \qquad\textbf{(D)} ~84 \qquad\textbf{(E)} ~126</math>
 
<math>\textbf{(A)} ~30 \qquad\textbf{(B)} ~62 \qquad\textbf{(C)} ~64 \qquad\textbf{(D)} ~84 \qquad\textbf{(E)} ~126</math>
 
==Solution==
 
==Solution==
To be Released on April 26th.
+
First, we can convert <math>2021</math> to base <math>4</math>. <math>2021_10=133211_4</math>. Therefore, the total ways to obtain only <math>2</math> and <math>3</math> as its digits that are less than <math>2^5+2^4+2^3+2^2+2^1+2^0=2^6-2=\fbox{\textbf{(B)} 62}</math>.

Latest revision as of 12:44, 26 April 2021

Paul wrote all positive integers that's less than $2021$ and wrote their base $4$ representation. He randomly choose a number out the list. Paul insist that he want to choose a number that had only $2$ and $3$ as its digits, otherwise he will be depressed and relinquishes to do homework. How many numbers can he choose so that he can finish his homework?

$\textbf{(A)} ~30 \qquad\textbf{(B)} ~62 \qquad\textbf{(C)} ~64 \qquad\textbf{(D)} ~84 \qquad\textbf{(E)} ~126$

Solution

First, we can convert $2021$ to base $4$. $2021_10=133211_4$. Therefore, the total ways to obtain only $2$ and $3$ as its digits that are less than $2^5+2^4+2^3+2^2+2^1+2^0=2^6-2=\fbox{\textbf{(B)} 62}$.