"Megan is selected to play a Megamillions game in which she can win a potentially unlimited amount of money. In this game, she repeatedly rolls a fair six-sided die, and the game ends as soon as she rolls a six. If roll 0 is a six, then she wins nothing; if roll 1 is a six, then she wins a total of 1^2 = 1 dollar; if roll 2 is a six, then she wins a total of 2^2=$4; and so on. What is the expected value of her winnings, in dollars?"
If anyone can help me figure this out that would be amazing! Obviously there is a 1/6 chance that she rolls a six, but I'm not sure where to go from there!