Can you predict tick 20 of a GAA scoreboard animation from its first two numbers?
A GAA club’s scoreboard animation displays a new number at each tick. Every new number depends on the previous two. If you know the rule and the first two numbers, can you jump straight to tick twenty?
You start with three and seven. To update the display, add four times the latest number and subtract six times the earlier number. Combine the latest number with four more copies of it. That gives five times the latest number minus six times the earlier one. The next display is seventeen.
Try r to the power n. The exponent increases by one at each tick. Substitute the three powers into the rule. Since r is non-zero, divide by r to the power n. Move all the terms to the left. The resulting quadratic is called the auxiliary equation.
This time the next term is four times the more recent term minus three times the earlier one. Try the same power sequence. Which auxiliary equation do you get? Pick one.
Each root gives a power sequence that follows the rule. The rule is linear and homogeneous, so there is no separate input term, and a weighted sum also follows it. With two distinct roots, you can choose the two weights to match your two starting values.
Factor the quadratic to get roots two and three. At tick zero both powers are one, so A plus B is three. At tick one, two A plus three B is seven. Subtract twice the first equation to get B equals one. Then A equals two. Put both into the formula.
Keep the same rule, so the roots are still two and three. This time you start at four and the next term is eleven. Which formula matches both starting values? Pick one.
With roots two and three, you have two different powers. If the quadratic is r minus two squared, both roots are two. Using the same power twice collapses the weights into one. For this repeated root, use two to the power n and n times that power, so both starting values still matter.
Start at three and seven. Using the roots as terms would give two and three instead. The rule gives seventeen, then forty-three. The formula gives the same pair. Subtract each term from the next for first differences: four, ten, twenty-six. Repeat on those differences to get six and sixteen.
To find the display at tick twenty, substitute twenty into your formula. Add an extra one at each update and the rule is inhomogeneous. Add the square of the earlier term instead and it is non-linear. For either new rule, fill down from the starting values, then read values from plotted points.