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 , left with probability , and right with probability . 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 , where and are coprime positive integers, then your answer should be .
The steps of the ant are independent.