Peanut puzzle.

Scope and Content

This is a demo program for ‘young’ visitors to Atlas. The program determines whether a pile of x peanuts can be shared in a certain way between four monkeys, for x = 1 step 1 to 2000. For each successful division, the results are printed. Program is written in Atlas Autocode. A sample line printer output is given.