1,489 views

1 Answer

2 votes
2 votes
Given information is turned into Code which results to the o/p of the problem.

#include<iostream>
using namespace std;
int main(){
for(int i=101;i<300;i++)
{
    if(((i*i-i-2)%16==0)&&((i*i+2*i-3)%25==0))
        cout<<i;
}
return 0;
}

O/p :- 226

i.e. only one (1) number is there.

Related questions

1 votes
1 votes
2 answers
1
Raj Kumar 7 asked Jul 14, 2018
886 views
Eric throws two dice, and his score is the sum of the values shown. Sandra throws one die, and her score is the square of the value shown. What is the probability that ...
0 votes
0 votes
1 answer
2
Raj Kumar 7 asked Jul 13, 2018
872 views
Q. Two consecutive numbers are removed from the progression 1, 2, 3, ...n. The arithmetic mean of the remaining numbers is 26 1/4. The value of n isa. 60 ...
0 votes
0 votes
1 answer
3
farhan777 asked Apr 14
38 views
how to check the validity of an a argument using laws of logics
0 votes
0 votes
1 answer
4
Anand67222 asked Oct 14, 2023
328 views
How many simple directed (unweighted) graphs on the set of vertices {v0,v1,…v5} are there that have at most one edge between any pair of vertices? (That is, for two ver...