Different Approach: using number of factors


#1

consider the number of factors of all numbers,
number of factors of n = (p+1)(q+1)… , p,q,… are distinct primes that divide n.
only perfect squares, say
1, 4, 9, … till 100 have odd number of factors.
So only they will be open