0,1

2 cannot be represented as the sum of 3 distinct positive squares hence a(0)=2 (and offset is 0).

Zak Seidov, Table of n, a(n) for n = 0..1000

29 = 2^2 + 3^2 + 4^2 and this is the only such representation.

89 = 2^2 + 6^2 + 7^2 = 3^2 + 4^2 + 8^2 and these are the only such representations.

101 = 1^2 + 6^2 + 8^2 = 2^2 + 4^2 + 9^2 = 4^2 + 6^2 + 7^2 and these are the only such representations.

Cf. A004432, A125516.

Sequence in context: A031918 A101231 A141949 * A253305 A123004 A062618

Adjacent sequences: A242672 A242673 A242674 * A242676 A242677 A242678

nonn,look

Zak Seidov, May 20 2014

approved