
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
<u>Round 5</u>**p13.** Find the number of six-digit positive integers that satisfy all of the following conditions:
(i) Each digit does not exceed  $3$ .
(ii) The number  $1$  cannot appear in two consecutive digits.
(iii) The number  $2$  cannot appear in two consecutive digits.**p14.** Find the sum of all distinct prime factors of  $103040301$ .**p15.** Let  $ABCA'B'C'$  be a triangular prism with height  $3$  where bases  $ABC$  and  $A'B'C'$  are equilateral triangles with side length  $\sqrt6$ . Points  $P$  and  $Q$  lie inside the prism so that  $ABCP$  and  $A'B'C'Q$  are regular tetrahedra. The volume of the intersection of these two tetrahedra can be expressed in the form  $\frac{\sqrt{m}}{n}$  , where  $m$  and  $n$  are positive integers and  $m$  is not divisible by the square of any prime. Find  $m + n$ .


<u>Round 6</u>**p16.** Let  $a_0, a_1, ...$  be an infinite sequence such that  $a^2_n -a_{n-1}a_{n+1} = a_n -a_{n-1}$  for all positive integers  $n$ . Given that  $a_0 = 1$  and  $a_1 = 4$ , compute the smallest positive integer  $k$  such that  $a_k$  is an integer multiple of  $220$ .**p17.**  Vincent the Bug is on an infinitely long number line. Every minute, he jumps either  $2$  units to the right with probability  $\frac23$  or  $3$  units to the right with probability  $\frac13$  . The probability that Vincent never lands exactly  $15$  units from where he started can be expressed as  $\frac{p}{q}$  where  $p$  and  $q$  are relatively prime positive integers. What is  $p + q$ ?**p18.** Battler and Beatrice are playing the “Octopus Game.” There are  $2022$  boxes lined up in a row, and inside one of the boxes is an octopus. Beatrice knows the location of the octopus, but Battler does not. Each turn, Battler guesses one of the boxes, and Beatrice reveals whether or not the octopus is contained in that box at that time. Between turns, the octopus teleports to an adjacent box and secretly communicates to Beatrice where it teleported to. Find the least positive integer  $B$  such that Battler has a strategy to guarantee that he chooses the box containing the octopus in at most  $B$  guesses.


<u>Round 7</u>**p19.** Given that  $f(x) = x^2-2$  the number  $f(f(f(f(f(f(f(2.5)))))))$  can be expressed as  $\frac{a}{b}$  for relatively prime positive integers  $a$  and  $b$ . Find the greatest positive integer  $n$  such that  $2^n$  divides  $ab+a+b-1$ .**p20.** In triangle  $ABC$ , the shortest distance between a point on the  $A$ -excircle  $\omega$  and a point on the  $B$ -excircle  $\Omega$  is  $2$ . Given that  $AB = 5$ , the sum of the circumferences of  $\omega$  and  $\Omega$  can be written in the form  $\frac{m}{n}\pi$ , where  $m$  and  $n$  are relatively prime positive integers. What is  $m+n$ ? (Note: The  $A$ -excircle is defined to be the circle outside triangle  $ABC$  that is tangent to the rays  $\overrightarrow{AB}$  and  $\overrightarrow{AC}$  and to the side  $ BC$ . The  $B$ -excircle is defined similarly for vertex  $B$ .)**p21.** Let  $a_0, a_1, ...$  be an infinite sequence such that  $a_0 = 1$ ,  $a_1 = 1$ , and there exists two fixed integer constants  $x$  and  $y$  for which  $a_{n+2}$  is the remainder when  $xa_{n+1}+ya_n$  is divided by  $15$  for all nonnegative integers  $n$ . Let  $t$  be the least positive integer such that  $a_t = 1$  and  $a_{t+1} = 1$  if such an integer exists, and let  $t = 0$  if such an integer does not exist. Find the maximal value of t over all possible ordered pairs  $(x, y)$ .


<u>Round 8</u>**p22.** A mystic square is a  $3$  by  $3$  grid of distinct positive integers such that the least common multiples of the numbers in each row and column are the same. Let M be the least possible maximal element in a mystic square and let  $N$  be the number of mystic squares with  $M$  as their maximal element. Find  $M + N$ .**p23.** In triangle  $ABC$ ,  $AB = 27$ ,  $BC = 23$ , and  $CA = 34$ . Let  $X$  and  $Y$  be points on sides  $ AB$  and  $AC$ , respectively, such that  $BX = 16$  and  $CY = 7$ . Given that  $O$  is the circumcenter of  $BXY$  , the value of  $CO^2$  can be written as  $\frac{m}{n}$  , where  $m$  and  $n$  are relatively prime positive integers. Compute  $m + n$ .**p24.** Alan rolls ten standard fair six-sided dice, and multiplies together the ten numbers he obtains. Given that the probability that Alan’s result is a perfect square is  $\frac{a}{b}$  , where  $a$  and  $b$  are relatively prime positive integers, compute  $a$ .


PS. You should use hide for answers. Rounds 1-4 have been posted [here](https://artofproblemsolving.com/community/c3h2949416p26408251). Collected [here](https://artofproblemsolving.com/community/c5h2760506p24143309).

Present the answer in LaTex format: \boxed{Your answer}
user