Sonal, a mathematician defines a number as 'connected by 6' if it is divisible by 6, or if the sum of digits is 6, or if 6 is one of the digits of the number. Other numbers are 'not connected by 6'. As per the definition, the number of integers, from 1-60 (both inclusive) which are not connected with 6 is
To find the number of integers from 1 to 60 that are not 'connected by 6', we identify the numbers that are 'connected by 6' as per Sonal's definition. An integer is 'connected by 6' if it:
is divisible by 6
has digits that sum to 6
contains the digit 6
Let's consider each condition:
Divisible by 6:Numbers within 1 to 60 that are divisible by 6 are: 6,12,18,24,30,36,42,48,54,60.
Sum of digits equals 6: For this, we sum each number's digits: