Problem:
How many positive integers less than 50 have an odd number of positive integer divisors?
Answer Choices:
A. 3
B. 5
C. 7
D. 9
E. 11
Solution:
Let N be a positive integer and d a divisor of N. Then dNβ is also : divisor of N. Thus the divisors of N occur in pairs d,dNβ and these two divisors will be distinct unless N is a perfect square and d=Nβ. It follows that N has an odd number of divisors if and only if N is a perfect square. There are 7 perfect squares among the numbers 1,2,3,β¦,50.
Note. If N>1 is an integer then N=p1r1βββ p2r2βββ β¦β pkrkββ where piβ is the ith prime. The divisors of N are those d=p1s1βββ p2s2βββ β¦β pkskββ with 0β€siββ€riβ for all i. Thus, N has (r1β+1)β (r2β+1)β β¦β (rkβ+1) divisors, a product which will be an odd number only when each riβ is even.