(I) Determine the total number of ways in which 2011 (base ten) is expressible as the sum of squares of N distinct positive integers, whenever N = 3, 4, 5,...., 8, 9,10

(II) Keeping all the other conditions in (I) unaltered, what are the respective total number of ways if the N positive integers need not be distinct?