• Really nice solution for the total row count and paging problem; and you can't miss the analogy to the classical Gauss argument for the sum of the N first integers 1+2+..+N= (N+1)*N / 2

    1 + 2 + ... N

    N + (N-1) ... 1

    🙂