+0  
 
0
561
2
avatar

When 482, 992, and 1094 are divided by a positive integer D, the remainders are all 74. What is D?

 Sep 27, 2020
 #1
avatar
0

D = 112.

 Sep 27, 2020
 #2
avatar
0

a=0;b=0;c=0;d=1;p=0; cycle:n=a*1000+b*100+c*10+d;if(482 % n==74 and 992 % n==74 and 1094 % n==74, goto loop, goto next); loop:printn," ",;p=p+1; next:d++;if(d<10, goto cycle, 0);d=1;c++;if(c<10, goto cycle, 0);d=1;c=0;b++;if(b<10, goto cycle,0);b=0;c=0;d=1;a++;if(a<10, goto cycle,0);print"Total = ",p

 

D = 102

 Sep 27, 2020

6 Online Users

avatar
avatar
avatar
avatar
avatar