- 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 4 ; by 8:

**(a)** 572

**(b)** 726352

**(c)** 5500

**(d)** 6000

**(e)** 12159

**(f)** 14560

**(g)** 21084

**(h)** 31795072

**(i)** 1700

**(j)** 2150

To do :

We have to find whether the given numbers are divisible by 4 and by 8.

Solution :

Divisibility by 4

If the last two digits of a number are divisible by 4, then that number is a multiple of 4 and is divisible by 4 completely.

(a) In 572, 72 is divisible by 4.

Therefore, 572 is divisible by 4.

572 is not divisible by 8.

(b) In 726352, 72 is divisible by 4.

Therefore, 726352 is divisible by 4.

In 726352, 352 is divisible by 8.

Therefore, 726352 is divisible by 8.

(c) In 5500, 00 is divisible by 4.

Therefore, 5500 is divisible by 4.

In 5500, 500 is not divisible by 8.

Therefore, 5500 is not divisible by 8.

(d) In 6000, 00 is divisible by 4.

Therefore, 6000 is divisible by 4.

In 6000, 000 is divisible by 8.

Therefore, 6000 is divisible by 8.

(e) In 12159, 59 is not divisible by 4.

Therefore, 12159 is not divisible by 4.

In 12159, 159 is not divisible by 8.

Therefore, 12159 is not divisible by 8.

(f) In 14560, 60 is divisible by 4.

Therefore, 14560 is divisible by 4.

In 14560, 560 is divisible by 8.

Therefore, 14560 is divisible by 8.

(g) In 21084, 84 is divisible by 4.

Therefore, 21084 is divisible by 4.

In 21084, 084 is not divisible by 8.

Therefore, 21084 is not divisible by 8.

(h) In 31795072, 72 is divisible by 4.

Therefore, 31795072 is divisible by 4.

In 31795072, 072 is divisible by 8.

Therefore, 31795072 is divisible by 8.

(i) In 1700, 00 is divisible by 4.

Therefore, 1700 is divisible by 4.

In 1700, 700 is not divisible by 8.

Therefore, 1700 is not divisible by 8.

(j) In 2150, 50 is not divisible by 4.

Therefore, 2150 is not divisible by 4.

In 2150, 150 is not divisible by 8.

Therefore, 2150 is not divisible by 8.

- Related Questions & Answers
- Registers B, C, D, E, H, and L in 8085 Microprocessor
- Program to find nth term of a sequence which are divisible by a, b, c in Python
- Find N digits number which is divisible by D in C++
- Count numbers which are divisible by all the numbers from 2 to 10 in C++
- Find FIRST & FOLLOW for the following Grammar E → E + T|T T → T ∗ F|F F → (E)|id
- Count rotations divisible by 8 in C++
- Count rotations divisible by 4 in C++
- Number of substrings divisible by 8 and not by 3 in C++
- Numbers obtained during checking divisibility by 7 using JavaScript
- Show that the following grammar is LR (1) S → A a |b A c |B c | b B a A → d B → d
- Sum of first N natural numbers which are divisible by X or Y
- Sum of first N natural numbers which are divisible by 2 and 7 in C++
- 8085 program to implement the following function (a*b) + (c*d)
- Maximize the number of sum pairs which are divisible by K in C++
- Find elements of an array which are divisible by N using STL in C++
- Count numbers in range 1 to N which are divisible by X but not by Y in C++