- 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

# If $\overline{98125x2}$ is a number with $x$ as its tens digits such that it is divisible by 4. Find all the possible values of $x$.

Given:

$\overline{98125x2}$ is a number with $x$ as its tens digits such that it is divisible by 4.

To do:

We have to find all the possible values of $x$.

Solution:

The number $\overline{98125x2}$ is divisible by 4.

This implies,

The number formed by tens digit and units digit will also be divisible by 4.

Therefore,

$\overline{x2}$ is divisible by 4.

If $x=1$, then $x2=12$ is divisible by 4.

If $x=3$, then $x2=32$ is divisible by 4.

If $x=5$, then $x2=52$ is divisible by 4.

If $x=7$, then $x2=72$ is divisible by 4.

If $x=9$, then $x2=92$ is divisible by 4.

The possible values of $x$ are $1, 3, 5, 7$ and $9$.

- Related Questions & Answers
- Find a number x such that sum of x and its digits is equal to given n in C++
- Find a number x such that sum of x and its digits is equal to given n using C++.
- Count of all possible values of X such that A % X = B in C++
- Find the minimum positive integer such that it is divisible by A and sum of its digits is equal to B in Python
- C Program to check if a number is divisible by sum of its digits
- C Program to check if a number is divisible by any of its digits
- Add N digits to A such that it is divisible by B after each addition?
- Find a Number X whose sum with its digits is equal to N in C++
- Find the first natural number whose factorial is divisible by x in C++
- Add N digits to A such that it is divisible by B after each addition in C++?
- Find minimum x such that (x % k) * (x / k) == n in C++
- Find number of pairs (x, y) in an array such that x^y > y^x in C++
- Find an array element such that all elements are divisible by it using c++
- Find smallest values of x and y such that ax – by = 0 in C++
- C++ program to find largest or equal number of A whose sum of digits is divisible by 4
- Find the smallest number X such that X! contains at least Y trailing zeros in C++

Advertisements