Determine the smallest number n∈Z+, which can be written as n=Σa∈Aa2, where A is a finite set of positive integers and Σa∈Aa=2014.
In other words: what is the smallest positive number which can be written as a sum of squares of different positive integers summing to 2014? minimumPerfect SquaresSumnumber theorycombinatorics