For how many positive integers \( n \) does the sum of the squares of the first \( n \) positive integers \( 1^2 + 2^2 + \cdots + n^2 \) evenly divide \( 3n^2 \)? Let's think step by step and output the final answer within \boxed{}.
user