Page 1 of 1

Problem 330

Posted: Wed Mar 30, 2011 8:25 am
by Knut.Angstrom
Please clarify what you mean with A(10**9)+B(10**9) mod 77777777. Since A(10**9)+B(10**9) < 0 I am not sure of the definition of mod.

Re: Problem 330

Posted: Wed Mar 30, 2011 9:07 am
by sivakd
I used positive modulo value. -3%5 = 2%5.

Re: Problem 330

Posted: Wed Apr 06, 2011 7:15 am
by windgod123
A(10**9)+B(10**9) is -infinite, how does it mod 77 777 777??

Re: Problem 330

Posted: Wed Apr 06, 2011 7:23 am
by sivakd
It's not infinite. It's a very large number. And there are ways to calculate mod of a very large number (example, problem 188 and 282) though I am not saying that knowing how to solve them is required to solve this problem.