in reply to Solving math equations

Just wondering: What is the relevency of 13 * 2 = 26? Obviously this is true, but what does it have to do with finding X and Y?

kelan


Perl6 Grammar Student

Replies are listed 'Best First'.
Re: Re: Solving math equations
by SamQi (Beadle) on Nov 10, 2002 at 05:41 UTC
    as best as I can tell, it is to reveal the behavior of the * operator (which we already know). That way if 13 * 2 = 15 we would know that * represents addition rather than multiplication. That's my guess from just reading this here. I have no clue why it was actually included.
Re: Re: Solving math equations
by FireBird34 (Pilgrim) on Nov 10, 2002 at 05:16 UTC
    I wish I knew that, honestly. That makes no sense to me aswell. Basically, I'm running through a level system, that encourages programming through Perl, C#, C++, etc. This was one of the questions there, and that was given as relivent info. I was talking to a friend of mine (good math person), and he's the one that suggested another route to this (which I'm doing now, finding the prime numbers and multiplying that way). So if I can get this working, I'll find out if 13 * 2 = 26 has anything to do with this or not *lol*.
      The relevance of 13*2=26 is that 13 and 2 are both primes and they are also factors of 26. That is supposed to help you figure what primes and factors are, which are needed to solve this problem.