Help needed-lucky and bulb -OPC

Question - LINK

I am unable to understand the approach to the solution

Solution

Bro… it’s a matter of simple observation.
try it with cases 1 through 8, you’ll find a pattern.
Remember, only perfect squares have odd number of factors.
Happy Coding!! :slight_smile: