%I #3 Mar 30 2012 16:50:26
%S 1,2,3,3,1,5,5,1,7,5,3,7,2,7,3,11,7,5,13,11,3,13,2,13,3,17,13,5,19,17,
%T 3,19,2,19,3,23,19,5,23,2,23,3,19,5,3,23,5,29
%N Triangle read by rows in which row n gives a representation of n as a sum of distinct numbers from {1, primes} with a minimal number of terms.
%C If there are several solutions with the minimal number of terms, choose the one with the greatest leading term, then the greatest second term, etc.
%C It can be shown that such a representation exists for all n.
%e 1=1
%e 2=2
%e 3=3
%e 4=3+1
%e 5=5
%e 6=5+1
%e 7=7
%e 8=5+3
%e 9=7+2
%e 10=7+3
%e 11=11
%e 12=7+5
%K nonn,tabf
%O 1,2
%A _N. J. A. Sloane_, based on a posting by Henry Baker to the math-fun list, Jul 22 2006
|