login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Smallest number with exactly n representations as a sum of 8 nonzero squares or 0 if no such number exists.
2

%I #4 May 20 2017 21:49:30

%S 8,23,35,32,46,58,72,56,62,70,71,79,80,83,88,89,91,86,103,94,109,104,

%T 107,112,113,110,122,119,126,121,118,144,0,128,131,136,137,153,143,

%U 139,149,134,0,0,142,152,164,154

%N Smallest number with exactly n representations as a sum of 8 nonzero squares or 0 if no such number exists.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SquareNumber.html">Square Number</a>

%H <a href="/index/Su#ssq">Index entries for sequences related to sums of squares</a>

%F A025432(a(n)) = n for a(n) > 0.

%e a(1) = 8 because 8 is the smallest number with exactly 1 representation as a sum of 8 nonzero squares: 8 = 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2;

%e a(2) = 23 because 23 is the smallest number with exactly 2 representations as a sum of 8 nonzero squares: 23 = 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 4^2 = 1^2 + 1^2 + 1^2 + 2^2 + 2^2 + 2^2 + 2^2 + 2^2, etc.

%Y Cf. A016032, A025414, A025416, A025432, A080654, A287165, A287166.

%K nonn

%O 1,1

%A _Ilya Gutkovskiy_, May 20 2017