MathDB
ant crawls along the grid lines of an infinite quadrille notebook

Source: (2021-) 2022 XV 15th Dürer Math Competition Finals Day 2 E+15

December 12, 2022
combinatorics

Problem Statement

An ant crawls along the grid lines of an infinite quadrille notebook. One grid point is marked red, this is its starting point. Every time the ant reaches a grid point, it continues forward with probability 13\frac13 , left with probability 13\frac13 , and right with probability 13\frac13. What is the chance that it is after its third turn, but not after its fourth turn that it returns to the red point? If the answer is pq\frac{p}{q} , where pp and qq are coprime positive integers, then your answer should be p+qp + q. The steps of the ant are independent.