All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Sum of Three (Posted on 2024-06-30) Difficulty: 3 of 5
What is the largest number of positive integers you can have such that the sum of any 3 of them is a prime?

*** An integer may be used twice, but not more than twice.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution Comment 1 of 1
Let's take the group of numbers mod 3.  There are three congruency classes and if there are three numbers in the same congruency class then their sum is a multiple of 3, and that sum cannot be the prime 3 itself since (1,1,1) is banned by the footnote.
Then we cannot have three of the numbers in the same congruency class mod 3.  So there are at most six numbers, two in each class.

Now if there is one number in each of the three classes then that sum is also a multiple of 3.
This then reduces the group of numbers to being in only two of the classes, so now we are down to a maximum of four numbers.

The groups {1,1,5,5} and {1,3,7,9} both have all their three terms sums being prime so the answer is four.

  Posted by Brian Smith on 2024-06-30 10:16:52
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information