How many natural numbers between 1 and 900 are NOT multiples of any of the numbers 2, 3, or 5?
Note: This is based on the concept of Euler’s number
A number N can be written as ambn. In this case, N=900=22×32×52
The question can be rephrased as
The number of natural numbers which are less than 900 and relatively prime to it is
N=[1−(1a)][1−(1b)][1−(1c)]
N=[1−(12)][1−(13)][1−(15)]=240