Section 20.4 Heuristics for the Sum of Divisors
Subsection 20.4.1 Numbers instead of points
Could this type of argument conceivably be used forMost proofs of the ideas in this section are quite terse, which was inappropriate for my students; I have drawn from [E.4.5, Chapter 4.4], [E.2.9, Section 22], and [E.4.6, Theorem 3.4].

Example 20.4.2.
In Figure 20.4.1 we see (by following hyperbolas
Then we can rearrange this to go along rows instead as
which means we can think of it as a sum of sums from
xxxxxxxxxx
def _(n=(6,list(range(2,50)))):
viewsize=n+1
g(x)=1/x
P=Graphics()
P += plot(n*g,(x,0,n+1))
grid_pts = [[i,j] for i in [1..viewsize] for j in [1..viewsize]]
P += points(grid_pts,rgbcolor=(0,0,0),pointsize=2)
lattice_pts = [coords for coords in grid_pts if (coords[0]*coords[1]<=n)]
for thing in lattice_pts:
P += text(thing[0],thing,rgbcolor=(0,0,0))
show(P,ymax=viewsize,aspect_ratio=1)
Each row has
integers.-
Adding up the first
integers (from one to ) has formula(recall again Example 1.2.4).
The most wrong
can be from is (this is simple algebra).
Subsection 20.4.2 Order calculations and more
But this is actually possible to analyze! First, we perform some order calculations. We already saw that
