A Galway stall gets 12 kg of spuds daily, so why does its stock fall?
A Galway market stall starts with forty kilograms of potatoes. Each day, twelve kilograms arrive, and the stall sells half of what it had at the start of that day. Will the stall have more or less stock tomorrow morning?
Start with two, five, ten, seventeen and twenty-six. Subtract each earlier term from the next to get first differences of three, five, seven and nine. Repeat with those differences to get second differences of two. Compare consecutive twos and you get third differences of zero.
At day zero, you start with forty kilograms. Twelve come in and twenty go out, leaving thirty-two after one day. That becomes the next day's opening stock. Think of the first difference: next stock minus current stock. You add what arrives and subtract what is sold.
On another day, eighteen kilograms come in and nine kilograms are sold. You want next stock minus current stock. Think about which amount goes onto the stall and which leaves it, then pick the expression that matches.
Call the stock after n days S sub n. The next stock minus the current stock equals twelve minus half the current stock. Add the current stock to both sides and simplify. Now you have a recurrence: half the current stock plus twelve gives the next stock.
Start with forty kilograms at day zero. Halve forty and add twelve to get thirty-two after one day. Now feed thirty-two into the same rule: half of thirty-two plus twelve is twenty-eight. Each new value becomes the input for the next step.
Keep the same rule: halve the current stock and add twelve. This time you start with thirty-six kilograms. Apply the rule once for each day. How much stock is left after two days? Pick your answer.
Try no deliveries. Square the opening number of kilograms and divide by a hundred to get the kilograms sold. The square makes the rule non-linear. Start at twenty: you get sixteen, then thirteen point four four. Start at fifty: you get twenty-five tomorrow. Can the rule alone fix the forecast?
Back at Galway, adding twelve makes the linear rule inhomogeneous. Set next stock equal to current stock to find the steady stock: twenty-four. The gap starts at sixteen and halves each day. This gap rule is homogeneous. Halve sixteen n times and add twenty-four. That explicit formula uses n directly.
Plot stock and gap against days. In spreadsheet row two, enter day zero, forty for stock and sixteen for gap. In the next row, halve both values, adding twelve only to stock. Fill down and plot. Read the day-three dots: twenty-six kilograms of stock and a gap of two kilograms.