2023 SSMO Relay Round 4 Problems/Problem 1
Problem
Martha starts out with the number on her calculator, which has three buttons that multiply the current number by
,
, and
respectively. She randomly presses one of the buttons four times. After these
presses, she cubes the number. The expected value of the final number is
for relatively prime positive integers
and
Find