yaswanth92
Member
Hi all,
Can someone please help me with a formula that calculates the total number of multiples of 3 (and not 6 & 9) in a given input number?
For example: If the input is 18, the result should be 2 means multiples of 3 within 18 are 3, 6, 9, 12, 15, 18 whereas 6, 9, 12, 18 are multiples of 6 or 9. So, the result is 2 (3 and 15).
Can someone please help me with a formula that calculates the total number of multiples of 3 (and not 6 & 9) in a given input number?
For example: If the input is 18, the result should be 2 means multiples of 3 within 18 are 3, 6, 9, 12, 15, 18 whereas 6, 9, 12, 18 are multiples of 6 or 9. So, the result is 2 (3 and 15).