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 |
There is a grid of 20 squares by 10 squares. How many different rectangles are possible? Note that square is a rectangle.
Solve this Murder case (challenge).. A man was found murdred on 02/10/2010 wednesday afternon at 2:10pm in his house...... His wife called police.. Police questioned everyone.. Wife: I was sleeping.. Neighbours: We went 4 the marriage.. Driver: I went to Bank.. Cooker: I went to Market.. Watch Man: I went to My relations Marriage.. Police arrested murderer immediately.. Who was it? "Reply if u r briliant with correct reason"
Assume for a moment that the earth is a perfectly uniform sphere of radius 6400 km. Suppose a thread equal to the length of the circumference of the earth was placed along the equator, and drawn to a tight fit. Now suppose that the length of the thread is increased by 12 cm, and that it is pulled away uniformly in all directions. By how many cm. will the thread be separated from the earth's surface?
Substitute digits for the letters to make the following subtraction problem true. S A N T A - C L A U S ----------------- X M A S Note that the leftmost letter can't be zero in any word. Also, there must be a one-to-one mapping between digits and letters. e.g. if you substitute 3 for the letter M, no other letter can be 3 and all other M in the puzzle must be 3.
At a recent painting competition,Jonny's rendition of a constable was not last.priya only just managed to avoid last place and came third.the lady who paintd a monkey was very successfull and took first place>Mary beat the lady who painted the lady the temple and the lady who painted the flower beat saching.can you determine who painted what and who won
What are the chances that at least two out of a group of fifty people share the same birthday?
There are 9 coins. Out of which one is odd one i.e weight is less or more. How many iterations of weighing are required to find odd coin?
rich man keeps me in pocket, poor men throws me away, children eat me, am a tamil word _u_ _e_ _l
9 Answers Adama Agricultural Solutions, Infosys, Mannar Company, Wipro,
name the cities which consist of a fruit name in its starting?
At what time immediately prior to Six O'clock the hands of the clock are exactly opposite to each other. Give the exact time in hours, minutes and seconds.
Your job is to create a simple sum that adds up to 12. You have to use the same number three times and you cannot use the number 4
In one year there are 12 months,so how many years in one month