Question 473821
For some penny n, 1 <= n <= 300, it will be flipped over k times, where k is the number of factors of n. Also, if k is even, the penny will remain heads up, if k is odd, the penny will be facing tails up. Only perfect squares have an odd number of factors, so all numbers that are not perfect squares have an even k, and will remain heads up.