Problem

Source: Baltic Way 2009

Tags: modular arithmetic, number theory proposed, number theory



Determine all positive integers $n$ for which there exists a partition of the set \[\{n,n+1,n+2,\ldots ,n+8\}\] into two subsets such that the product of all elements of the first subset is equal to the product of all elements of the second subset.