Reconstruct the complete AFFINE FLOOR-SUM lattice ledger for original integers n...
https://datenvertrag.halowerk.com/v1/affine-floor-sum-lattice-ledgerOverview
Reconstruct the complete AFFINE FLOOR-SUM lattice ledger for original integers n0..8,m1..8,a0..8,b0..8. For each original column i=0..n-1, quotients[i]=floor((a*i+b)/m) and remainders[i]=a*i+b-m*quotients[i], with0<=remainder<m. prefix_sums contains n+1 entries: prefix_sums[0]=0 and prefix_sums[k]=SUM for i0..k-1 of quotients[i]. total=prefix_sums[n]. Equivalently total counts ALL integer pairs(i,y) with0<=i<n and1<=y and m*y<=a*i+b; boundary points INCLUDED and y=0 EXCLUDED.