Hi i found a question in number theory, involving two equations, it goes as follows:(adsbygoogle = window.adsbygoogle || []).push({});

Let p1, p2, p3 and p4 be 4 different prime numbers satisfying the equations

2p1 + 3p2 + 5p3 + 7p4 = 162

11p1 + 7p2 + 5p3 + 4p4 = 162

Find all possible values of p1p2p3p4.

Not knowing what to do, i used the fact that even plus odd numbers add to give odd numbers to deduce that one of either p2 or p3 is 2. Also, by taking the two equations from each other, and some inequalities i managed to break down p1 and p4 into sets of possible prime numbers (p1 was possibly 3,5,7 or 11, and p4 was either 13, 17 or 10) and i was forced into testing each value of p4 and seeing if other solutions are possible, however there was only one possible answer which was p1 = 5, p2 = 3, p3 = 2, and p4 = 19, which gives the product value of 570.

Two questions - is this actually right ? and secondly, surely there's a much nicer way to find the answer to this question, maybe one which is more indirect seeing as we must only find the possible values of the product, not the values of the prime numbers themselves?

EDIT: Sorry just saw that rule about no posting of any "homework-style" questions, sorry.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Prime number equation system

Loading...

Similar Threads - Prime number equation | Date |
---|---|

A Equation with three consecutive prime numbers | Apr 11, 2016 |

Some Flat Equation Prime Number Aproximations | Mar 4, 2012 |

Bounding a prime number based equation | Jan 16, 2012 |

Prime Numbers in the Diophantine equation q=(n^2+1)/p and p is Prime | May 17, 2005 |

Integral equation of second kind and prime number counting function | Jun 21, 2004 |

**Physics Forums - The Fusion of Science and Community**