I am familirazing myself with the lattice dynamics reading Ashkroft-Mermin (p2 ch 22). My question is what it the mathematics behind the deriviation
$U^{harm}=1/2 K \sum_{n} [u(na)-u([n+1]a)]^2$ (22.22)
$\frac{\delta U^{harm}}{\delta u(na)}=-K[2u(na)-u([n-1]a)-u([n+1]a)]$ (22.23)
I feel like it is very basic and I fail to see it or I totally misunderstand the notation. ( I get something like $-K(u(na)-u[(n+1)a]$).
How it comes, that one of the displacements is for (n-1)a atom? Is the 22.23 has this form to fit the concept of this lattice to be a system of balls connected by spring?