A number. if it is divided by 2 reminder 1,
if it is divided by 3 reminder 1,
if it is divided by 4 reminder 1,
if it is divided by 5 reminder 1,
if it is divided by 6 reminder 1,
if it is divided by 7 reminder 1,
if it is divided by 8 reminder 1,
if it is divided by 9 reminder 1,
if it is divided by 10 reminder 1,
and if it is divided by 11 reminder 0.
its greater then 100. which is that number.
this puzzle has been appeared in one of written
test(aptitude for 20 marks).
Answers were Sorted based on User's Feedback
Answer / manish
for(int i=10;i<10000;i++){
int num=11*i,j=10;
if(num%j==1){
j--;
if(num%j==1){
j--;
if(num%j==1){
j--;
if(num%j==1){
j--;
if(num%j==1){
j--;
if(num%j==1){
j--;
if(num%j==1){
j--;
if(num%j==1){
j--;
if(num%j==1){
System.out.println(num);
}
}
}
}
}
}
}
}
}
}
======================================================
Ans:
25201
52921
80641
108361
etc..
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shri1609
hi Mitulpanchal...
can you show your solution in detail.....
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / aditya.sriavstava@gmail.com
the answer is 2521 its simple LCM comes out to be 2520 add one to it.
I have checked it by making a simple C program
#include<stdio.h>
#include<conio.h>
void main()
{
int i,c=0,num=100;
clrscr();
for(i=2;i<=10;i++)
{
c=num%i;
if(c!=1)
{
num++;
i=2;
}
printf("%d\n",c);
}
printf("%d",num);
getch();
}
this program reported 2521. and then i manually checked it. IT is correct.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / goodhood
Not to be a spoilsport. But for those it helps
25201, 52921, 80641, 108361, 136081, 163801, 191521, 219241, 246961, 274681, 302401, 330121, 357841, 385561, 413281, 441001, 468721, 496441, 524161, 551881, 579601, 607321, 635041, 662761, 690481, 718201, 745921, 773641, 801361, 829081, 856801, 884521, 912241, 939961, 967681, 995401, 1023121, 1050841, 1078561, 1106281, 1134001, 1161721, 1189441, 1217161, 1244881, 1272601, 1300321, 1328041, 1355761, 1383481, 1411201, 1438921, 1466641, 1494361, 1522081, 1549801, 1577521, 1605241, 1632961, 1660681, 1688401, 1716121, 1743841, 1771561, 1799281, 1827001, 1854721, 1882441, 1910161, 1937881, 1965601, 1993321, 2021041, 2048761, 2076481, 2104201, 2131921, 2159641, 2187361, 2215081, 2242801, 2270521, 2298241, 2325961, 2353681, 2381401, 2409121, 2436841, 2464561, 2492281, 2520001, 2547721, 2575441, 2603161, 2630881, 2658601, 2686321, 2714041, 2741761, 2769481, 2797201, 2824921, 2852641, 2880361, 2908081, 2935801, 2963521, 2991241, 3018961, 3046681, 3074401, 3102121, 3129841, 3157561, 3185281, 3213001, 3240721, 3268441, 3296161, 3323881, 3351601, 3379321, 3407041, 3434761, 3462481, 3490201, 3517921, 3545641, 3573361, 3601081, 3628801, 3656521, 3684241, 3711961, 3739681, 3767401, 3795121, 3822841, 3850561, 3878281, 3906001, 3933721, 3961441, 3989161, 4016881, 4044601, 4072321, 4100041, 4127761, 4155481, 4183201, 4210921, 4238641, 4266361, 4294081, 4321801, 4349521, 4377241, 4404961, 4432681, 4460401, 4488121, 4515841, 4543561, 4571281, 4599001, 4626721, 4654441, 4682161, 4709881, 4737601, 4765321, 4793041, 4820761, 4848481, 4876201, 4903921, 4931641, 4959361, 4987081, 5014801, 5042521, 5070241, 5097961, 5125681, 5153401, 5181121, 5208841, 5236561, 5264281, 5292001, 5319721, 5347441, 5375161, 5402881, 5430601, 5458321, 5486041, 5513761, 5541481, 5569201, 5596921, 5624641, 5652361, 5680081, 5707801, 5735521, 5763241, 5790961, 5818681, 5846401, 5874121, 5901841, 5929561, 5957281, 5985001, 6012721, 6040441, 6068161, 6095881, 6123601, 6151321, 6179041, 6206761, 6234481, 6262201, 6289921, 6317641, 6345361, 6373081, 6400801, 6428521, 6456241, 6483961, 6511681, 6539401, 6567121, 6594841, 6622561, 6650281, 6678001, 6705721, 6733441, 6761161, 6788881, 6816601, 6844321, 6872041, 6899761, 6927481, 6955201, 6982921, 7010641, 7038361, 7066081, 7093801, 7121521, 7149241, 7176961, 7204681, 7232401, 7260121, 7287841, 7315561, 7343281, 7371001, 7398721, 7426441, 7454161, 7481881, 7509601, 7537321, 7565041, 7592761, 7620481, 7648201, 7675921, 7703641, 7731361, 7759081, 7786801, 7814521, 7842241, 7869961, 7897681, 7925401, 7953121, 7980841, 8008561, 8036281, 8064001, 8091721, 8119441, 8147161, 8174881, 8202601, 8230321, 8258041, 8285761, 8313481, 8341201, 8368921, 8396641, 8424361, 8452081, 8479801, 8507521, 8535241, 8562961, 8590681, 8618401, 8646121, 8673841, 8701561, 8729281, 8757001, 8784721, 8812441, 8840161, 8867881, 8895601, 8923321, 8951041, 8978761, 9006481, 9034201, 9061921, 9089641, 9117361, 9145081, 9172801, 9200521, 9228241, 9255961, 9283681, 9311401, 9339121, 9366841, 9394561, 9422281, 9450001, 9477721, 9505441, 9533161, 9560881, 9588601, 9616321, 9644041, 9671761, 9699481, 9727201, 9754921, 9782641, 9810361, 9838081, 9865801, 9893521, 9921241, 9948961, 9976681
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / paul
I have an excel macro solution for this problem.....The
answer will be displayed on A1 cell which is 2519....try it
and verify yourself...
Sub calculate()
Dim answer As Integer, z As Integer
z = 0
For x = 1 To 10000
For y = 1 To 10
a = x Mod y
If a = y - 1 Then
z = z + 1
End If
If y = 10 And z = 10 Then
answer = x
z = 0
x = 10001
End If
If y = 10 And z < 10 Then
z = 0
End If
If z < y Then
y = 10
z = 0
End If
Next y
Next x
Range("A1").Value = answer
End Sub
| Is This Answer Correct ? | 1 Yes | 2 No |
A clock with the hours round the face in Roman block numbers, as illustrated in the sketch fell down and the dial broke into four parts....
You have 13 balls which all look identical. All the balls are the same weight except for one. Using only a balance scale, can find the odd one out with only 3 weighings? Is it possible to always tell if the odd one out is heavier or lighter than the other balls?
Eleven boys and girls wait to take their seats in the same row in a movie theater. There are exactly 11 seats in the row. They decided that after the first person sits down, the next person has to sit next to the first. The third sits next to one of the first two and so on until all eleven are seated. In other words, no person can take a seat that separates him/her from at least one other person. How many different ways can this be accomplished? Note that the first person can choose any of the 11 seats.
SkyFi city is served by 6 subway lines - A, E, I, O, U and Z. ? When it snows, morning service on line E is delayed. ? When it rains or snows, service on the lines A, U and Z is delayed both morning and afternoon. ? When the temperature drops below 20 C, afternoon service is cancelled on either line A or line O, but not both. ? When the temperature rises above 40 C, afternoon service is cancelled on either line I or line Z, but not both. ? When service on line A is delayed or cancelled, service on line I is also delayed. ? When service on line Z is delayed or cancelled, service on line E is also delayed. On February 10, it snows all day with the temperature at 18C. On how many lines service will be delayed or cancelled, including both morning and afternoon?
If you were to dial any 7 digits on a telephone in random order, what is the probability that you will dial your own phone number? Assume that your telephone number is 7-digits.
Sarika multiplied 414 by certain number and obtained 69958 as the answer. But she found that there is some error in the answer - both the 9s in the answer are wrong and all the other digits are correct. Can you find the correct answer?
1 bird ko fish se pyar ho gaya. wo dono mile to kaise? fish paani ko chhod nahi sakti aur bird paani me ja nahi sakta.
one man driving a car in a lonely forest .. it was raining at that moment ...suddenly one of the car tyre got punchured...and he is having stephiny in his car ...he gets it and he tried to fix that stephiny...when he removes the bolts of punchred tire all are gone into mud...all bolts... fell into mud...and that bolts he never get...then, how can he reach safely to home... by driving his car..?
if 12+22=24 23+8=6 32+13=40 73+16=144 then 36+2=? explain
13 Answers Hawkins, Infosys, L&T, Reliance, TCS, Total, Wipro,
divide a line segment by using compass only.mind u , marking arcs on both side can be done by using compas only but u dont have ruler to join them.
Tanya wants to go on a date and prefers her date to be tall, dark and handsome. 1. Of the preferred traits - tall, dark and handsome - no two of Adam, Bond, Cruz and Dumbo have the same number. 2. Only Adam or Dumbo is tall and fair. 3. Only Bond or Cruz is short and handsome. 4. Adam and Cruz are either both tall or both short. 5. Bond and Dumbo are either both dark or both fair. Who is Tanya's date?
a pipe fill a tank in 3hrs.another pipe fill that same tank in 2hrs.if both pipe inserted in tank to fill it how timw it will take to fill?
14 Answers Infosys, Zycus Infotech,