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 |
(9^-2)*81*(5/6)
Three men - Sam, Cam and Laurie - are married to Carrie, Billy and Tina, but not necessarily in the same order. Sam's wife and Billy's Husband play Carrie and Tina's husband at bridge. No wife partners her husband and Cam does not play bridge. Who is married to Cam?
A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gave him Y rupees and X paise. Neither the person nor the cashier noticed that. After spending 20 paise, the person counts the money. And to his surprise, he has double the amount he wanted to withdraw. Find X and Y.
day before yesterday i was 25 years , next year iam 28,when is my birthday? which day is today?
one hen and its three kids where cross the road and one kid said we all seven cross road sucessfully,how seven?
An apple vendor has 1000 apples and 10 empty boxes. He asks his son to place all the 1000 apples in all the 10 boxes in such a manner that if he asks for any number of apples from 1 to 1000, his son should be able to pick them in terms of boxes. How did the son place all the apples among the 10 boxes, given that any number of apples can be put in one box.
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.
Four prisoners escape from a prison. The prisoners, Mr. East, Mr. West, Mr. South, Mr. North head towards different directions after escaping. The following information of their escape was supplied: ? The escape routes were North Road, South Road, East Road and West Road ? None of the prisoners took the road which was their namesake ? Mr. East did not take the South Road ? Mr.West did not the South Road ? The West Road was not taken by Mr. East What road did each of the prisoners take to make their escape
with heavy raining ,At Midnight 12, aap car lekar ja rahe ho aur bus stand par 3 log (80 years woman , ur best friend , ur lover ) khade he....lekin aap kisi ek ko hi apni car me bitha sakte ho..to aap kya karoge aur kyu ????
John lives in "Friends Society" where all the houses are in a row and are numbered sequentially starting from 1. His house number is 109. Jessy lives in the same society. All the house numbers on the left side of Jessy's house add up exactly the same as all the house numbers on the right side of her house. What is the number of Jessy's house? Find the minimal possible answer.
How many such pairs of letters are there in the word TERMINATE each of which has as many letters between them in the word as in the English alphabet ?
In a soap company a soap is manufactured with 11 parts. For making one soap you will get 1 part as crap. At the end of the day u have 251 such scraps. From that how many soaps can be manufactured?