- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Using divisibility tests, determine which of the following numbers are divisible by 2 ; by 3 ; by 4 ; by 5 ; by 6 ; by 8 ; by 9 ; by 10 ; by 11 (say, yes or no):

"

To do:

Using divisibility tests, we have to determine which of the given numbers are divisible by 2 ; by 3 ; by 4 ; by 5 ; by 6 ; by 8 ; by 9 ; by 10 ; by 11.

Solution:

Numbers | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 |

128 | Yes | No | Yes | No | No | Yes | No | No | No |

990 | Yes | Yes | No | Yes | Yes | No | Yes | Yes | Yes |

1586 | Yes | No | No | No | No | No | No | No | No |

275 | No | No | NO | Yes | No | No | No | No | Yes |

6686 | Yes | No | No | No | No | No | No | No | No |

639210 | Yes | Yes | No | Yes | Yes | No | No | Yes | Yes |

429714 | Yes | Yes | No | No | Yes | No | Yes | No | No |

2856 | Yes | Yes | Yes | No | Yes | Yes | No | No | No |

3060 | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | No |

406839 | No | Yes | No | No | No | No | No | No | No |

- Related Questions & Answers
- Find permutation of n which is divisible by 3 but not divisible by 6 in C++
- Number of substrings divisible by 8 and not by 3 in C++
- Count numbers which are divisible by all the numbers from 2 to 10 in C++
- GROUP BY the number of rows returned by GROUP BY in MySQL?
- Binary Prefix Divisible By 5 in Python
- Count rotations divisible by 8 in C++
- Count rotations divisible by 4 in C++
- Is java pass by reference or pass by value?
- How are arguments passed by value or by reference in Python?
- Numbers obtained during checking divisibility by 7 using JavaScript
- Count numbers in range 1 to N which are divisible by X but not by Y in C++
- Program to print all the numbers divisible by 3 and 5 in C++
- Sum of first N natural numbers which are divisible by X or Y
- Sum of the numbers up to N that are divisible by 2 or 5 in c programming
- C++11 Features Supported by Intel
- Order by numeric value from string records separated by numbers like CSE 15, CSE 11, etc.?

Advertisements