Thank you for your response. What confused me was, I was taking l to equal 8 as opposed to 2 because it is the largest natural number whose square divides the discriminant. So in the future am I right in saying that I will look for the largest prime whose square divides the discriminant?
Reply:
In essence, yes. The reason for doing this is contained inside the `first trick’ of lecture 13.