Report question

Question: Turn while loop into math equation?