enter image description here
I want to write a tail recursive version for sum of squares of the first n number , using letrec but I got an error as in the image.Can y