This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A025339 #28 Feb 27 2019 16:47:34 %S A025339 14,21,26,29,30,35,38,41,42,45,46,49,50,53,54,56,59,61,65,66,70,75,78, %T A025339 81,83,84,91,93,104,106,107,109,113,114,115,116,118,120,121,133,137, %U A025339 139,140,142,145,147,152,153,157,162,164,168,169,171,178,180,184,190,196,198,200 %N A025339 Numbers that are the sum of 3 distinct nonzero squares in exactly one way. %C A025339 Numbers n such that there is a unique triple (i,j,k) with 0 < i < j < k and n = i^2 + j^2 + k^2. %C A025339 By removing the terms that have a factor of 4 we obtain A096017. - _T. D. Noe_, Jun 15 2004 %H A025339 Robert Israel, <a href="/A025339/b025339.txt">Table of n, a(n) for n = 1..1019</a> %H A025339 <a href="/index/Su#ssq">Index entries for sequences related to sums of squares</a> %e A025339 14 is a term since 14 = 1^2+2^2+3^2. %e A025339 38 is a term since 38 = 2^2+3^2+5^2 (note that 38 is also 1^2+1^2+6^2, but that is not a contradiction since here i=j). %p A025339 N:= 10^4; # to get all terms <= N %p A025339 S:= Vector(N): %p A025339 for a from 1 to floor(sqrt(N/3)) do %p A025339 for b from a+1 to floor(sqrt((N-a^2)/2)) do %p A025339 c:= [$(b+1) .. floor(sqrt(N-a^2-b^2))]: %p A025339 v:= map(t -> a^2 + b^2 + t^2, c): %p A025339 S[v]:= map(`+`,S[v],1) %p A025339 od od: %p A025339 select(t -> S[t]=1, [$1..N]); # _Robert Israel_, Jan 03 2016 %t A025339 Select[Range[200], (pr = PowersRepresentations[#, 3, 2]; Length[Select[pr, Union[#] == # && #[[1]] > 0&]] == 1)&] (* _Jean-François Alcover_, Feb 27 2019 *) %Y A025339 A subsequence of A004432. %Y A025339 Cf. A001974, A024803, A096017. %Y A025339 A274226 has a somewhat similar definition but is actually a different sequence. %K A025339 nonn %O A025339 1,1 %A A025339 _David W. Wilson_