A348326 Number of compositions (ordered partitions) of n into two or more distinct squares.
0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 2, 6, 0, 0, 2, 0, 0, 2, 6, 0, 0, 0, 2, 8, 0, 0, 8, 30, 0, 0, 0, 2, 6, 0, 2, 6, 24, 2, 8, 6, 0, 0, 8, 30, 0, 0, 6, 32, 24, 2, 8, 30, 120, 6, 24, 2, 6, 0, 8, 36, 24, 0, 34, 150, 0, 2, 12, 30, 24, 0, 2, 38, 150, 0, 12, 78, 144, 2, 30, 122, 6
Offset: 0
Keywords
Examples
For n = 14 there exists the following six solutions: 1+4+9 = 1+9+4 = 4+1+9 = 4+9+1 = 9+1+4 = 9+4+1 = 14, therefore a(14) = 6. - _Antti Karttunen_, Oct 17 2021