Find the largest possible value of n such that 1 1 n is a divisor of 2 6 1 9 9 4 1 8 7 1993 8s 8 8 8 8 8 8 8 8 8 8 8 8 8 . . . 8 8 8 8 8 8 6 2 6 8 9 4 7 0 1
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
How did you know that 285311670 divides that SOOOoo big number..?????????
Bad solution..... @Nanayaranaraknas Vahdam - Would kindly ask you to submit a solutions since you have solved this. Thanks :)_
You are the most useless sucker ever @Saurabh Mallik . Youre solutions are never clear or correct.
Log in to reply
You foolish insect. My solutions are nice. You are stupid not me. If you don't have any solution then shut up and stop commenting you fool. Be reasonable in your arguments!
calculator ka use mat kar mere bhai!!
Log in to reply
It is not possible to solve it in a calculator because it shows error in such big calculations.
Log in to reply
You are the most useless fool and sucker I have ever seen in my life.
java code:
public class brilliant201409091555{
static int count = 0;
public static void main(String args[]){
String number = "261994187";
for(int i=0;i<1993;i++) number = number + "8";
number = number + "626894701";
process(number);
System.out.println(count);
}
private static void process(String number){
String quotient = "";
int remainder = 0;
for(int i=0;i<number.length();i++){
remainder *= 10;
remainder += (number.charAt(i)-48);
if(remainder<11){
quotient += "0";
continue;
}
quotient += remainder/11;
remainder %= 11;
}
if(remainder==0){
count++;
process(quotient);
}
}
}
output:
11
Press any key to continue . . .
Note: I used the concept of BigInteger by representing integers with strings.
Problem Loading...
Note Loading...
Set Loading...
The value of n = 1 1
So, the largest possible divisor of:
2 6 1 9 9 4 1 8 7 8 8 8 8 . . . . 8 8 8 8 8 6 2 6 8 9 4 7 0 1 ( 8 written 1 9 9 3 times ) = 1 1 1 1 = 2 8 5 , 3 1 1 , 6 7 0 , 6 1 1
So, the answer is 1 1 .