Difference between revisions of "2023 AMC 12A Problems/Problem 24"
Pi is 3.14 (talk | contribs) |
|||
Line 12: | Line 12: | ||
~bluesoul | ~bluesoul | ||
+ | |||
+ | ==Solution 2== | ||
+ | Let <math>f(x,\ell)</math> be the number of sequences <math>A_1</math>, <math>A_2</math>, <math>\dots</math>, <math>A_\ell</math> such that each <math>A_i</math> is a subset of <math>\{1, 2,\dots,x\}</math>, and <math>A_i</math> is a subset of <math>A_{i+1}</math> for <math>i=1</math>, <math>2\dots</math>, <math>\ell-1</math>. Then <math>f(x,1)=2^x</math> and <math>f(0,\ell)=1</math>. | ||
+ | |||
+ | If <math>\ell\ge2</math> and <math>x\ge1</math>, we need to get a recursive formula for <math>f(x,\ell)</math>: If <math>|A_1|=i</math>, then <math>A_1</math> has <math>\text C_x^i</math> possibilities, and the subsequence <math>\{A_i\}_{2\le i\le\ell}</math> has <math>f(x-i,\ell-1)</math> possibilities. Hence <math>f(x,\ell)=</math> | ||
+ | <cmath>f(x,\ell)=\sum_{i=0}^x\text C_x^if(x-i,\ell-1).</cmath> | ||
+ | By applying this formula and only considering modulo <math>10</math>, we get <math>f(1,2)=3</math>, <math>f(1,3)=4</math>, <math>f(1,4)=5</math>, <math>f(1,5)=6</math>, <math>f(1,6)=7</math>, <math>f(1,7)=8</math>, <math>f(1,8)=9</math>, <math>f(1,9)=0</math>, <math>f(1,10)=1</math>, <math>f(2,2)=9</math>, <math>f(2,3)=6</math>, <math>f(2,4)=5</math>, <math>f(2,5)=6</math>, <math>f(2,6)=9</math>, <math>f(2,7)=4</math>, <math>f(2,8)=1</math>, <math>f(2,9)=0</math>, <math>f(2,10)=1</math>, <math>f(3,2)=7</math>, <math>f(3,3)=4</math>, <math>f(3,4)=5</math>, <math>f(3,5)=6</math>, <math>f(3,6)=3</math>, <math>f(3,7)=2</math>, <math>f(3,8)=9</math>, <math>f(3,9)=0</math>, <math>f(3,10)=1</math>, <math>f(4,2)=1</math>, <math>f(4,3)=6</math>, <math>f(4,4)=5</math>, <math>f(4,5)=6</math>, <math>f(4,6)=1</math>, <math>f(4,7)=6</math>, <math>f(4,8)=1</math>, <math>f(4,9)=0</math>, <math>f(4,10)=1</math>, <math>f(5,2)=3</math>, <math>f(5,3)=4</math>, <math>f(5,4)=5</math>, <math>f(5,5)=6</math>, <math>f(5,6)=7</math>, <math>f(5,7)=8</math>, <math>f(5,8)=9</math>, <math>f(5,9)=0</math>, <math>f(5,10)=1</math>, <math>f(6,2)=9</math>, <math>f(6,3)=6</math>, <math>f(6,4)=5</math>, <math>f(6,5)=6</math>, <math>f(6,6)=9</math>, <math>f(6,7)=4</math>, <math>f(6,8)=1</math>, <math>f(6,9)=0</math>, <math>f(6,10)=1</math>, <math>f(7,2)=7</math>, <math>f(7,3)=4</math>, <math>f(7,4)=5</math>, <math>f(7,5)=6</math>, <math>f(7,6)=3</math>, <math>f(7,7)=2</math>, <math>f(7,8)=9</math>, <math>f(7,9)=0</math>, <math>f(7,10)=1</math>, <math>f(8,2)=1</math>, <math>f(8,3)=6</math>, <math>f(8,4)=5</math>, <math>f(8,5)=6</math>, <math>f(8,6)=1</math>, <math>f(8,7)=6</math>, <math>f(8,8)=1</math>, <math>f(8,9)=0</math>, <math>f(8,10)=1</math>, <math>f(9,2)=3</math>, <math>f(9,3)=4</math>, <math>f(9,4)=5</math>, <math>f(9,5)=6</math>, <math>f(9,6)=7</math>, <math>f(9,7)=8</math>, <math>f(9,8)=9</math>, <math>f(9,9)=0</math>, <math>f(9,10)=1</math>, <math>f(10,2)=9</math>, <math>f(10,3)=6</math>, <math>f(10,4)=5</math>, <math>f(10,5)=6</math>, <math>f(10,6)=9</math>, <math>f(10,7)=4</math>, <math>f(10,8)=1</math>, <math>f(10,9)=0</math>, <math>f(10,10)=1</math>. | ||
+ | |||
+ | Lastly, we get <math>K\equiv\textstyle\sum\limits_{i=1}^{10}f(10,i)\equiv\boxed{\textbf{(C) } 5}\pmod{10}</math>. | ||
+ | ~Quantum-Phantom | ||
==Video Solution 1 by OmegaLearn== | ==Video Solution 1 by OmegaLearn== |
Revision as of 11:23, 10 November 2023
Problem
Let be the number of sequences , , , such that is a positive integer less than or equal to , each is a subset of , and is a subset of for each between and , inclusive. For example, , , , , is one such sequence, with .What is the remainder when is divided by ?
Solution 1
Consider any sequence with terms. Every 10 number has such choices: never appear, appear the first time in the first spot, appear the first time in the second spot… and appear the first time in the th spot, which means every number has choices to show up in the sequence. Consequently, for each sequence with length , there are possible ways.
Thus, the desired value is
~bluesoul
Solution 2
Let be the number of sequences , , , such that each is a subset of , and is a subset of for , , . Then and .
If and , we need to get a recursive formula for : If , then has possibilities, and the subsequence has possibilities. Hence By applying this formula and only considering modulo , we get , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , .
Lastly, we get . ~Quantum-Phantom
Video Solution 1 by OmegaLearn
See also
2023 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 23 |
Followed by Problem 25 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.