Problem

Source: 2002 Estonia National Olympiad Final Round grade 10 p3

Tags: number theory, odd, Sum, Product



John takes seven positive integers a1,a2,...,a7 and writes the numbers aiaj, ai+aj and |aiaj| for all ij on the blackboard. Find the greatest possible number of distinct odd integers on the blackboard.