Problem 330

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
Post Reply
Knut.Angstrom
Posts: 7
Joined: Thu Apr 24, 2008 8:22 pm

Problem 330

Post 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.
sivakd
Posts: 217
Joined: Fri Jul 17, 2009 9:37 am
Location: California, USA
Contact:

Re: Problem 330

Post by sivakd »

I used positive modulo value. -3%5 = 2%5.
Image
puzzle is a euphemism for lack of clarity
windgod123
Posts: 1
Joined: Thu Mar 31, 2011 5:14 am

Re: Problem 330

Post by windgod123 »

A(10**9)+B(10**9) is -infinite, how does it mod 77 777 777??
sivakd
Posts: 217
Joined: Fri Jul 17, 2009 9:37 am
Location: California, USA
Contact:

Re: Problem 330

Post 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.
Image
puzzle is a euphemism for lack of clarity
Post Reply