Problem #326

Lumberjacks
Public 04/22/16 6xp Programming 24.2%

A group of lumberjacks are gathered in a camp.
Each day, in turn, one of the lumberjacks stays in the camp to cook, while the others go to work in 2 teams.
  • The sum of the ages of the 1st team equals the sum of the ages of the 2nd team.
  • The ages of the lumberjacks are all different and are prime numbers.

What is the smallest possible number of lumberjacks and their ages (First solution in lexicographic order).

Answer format: a1,a2,...,an // in ascending order.
[My timing: 2 sec]



You need to be a member to keep track of your progress.
Register


Time may end, but hope will last forever.

Other Challenge Sites

Contact

elasolova
[64][103][109][97][105][108][46][99][111][109]