login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004436 Numbers that are not the sum of 3 distinct squares. 2

%I #18 Oct 26 2023 01:19:12

%S 1,2,3,4,6,7,8,9,11,12,15,16,18,19,22,23,24,27,28,31,32,33,36,39,43,

%T 44,47,48,51,55,57,60,63,64,67,71,72,76,79,87,88,92,95,96,99,102,103,

%U 108,111,112

%N Numbers that are not the sum of 3 distinct squares.

%H T. D. Noe, <a href="/A004436/b004436.txt">Table of n, a(n) for n = 1..1000</a>

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

%t r[n_] := Reduce[0 <= x < y < z && x^2 + y^2 + z^2 == n, {x, y, z}, Integers]; ok[n_] := r[n] == False; Select[ Range[112], ok] (* _Jean-François Alcover_, Dec 05 2011 *)

%Y Cf. A001974 (complement).

%K nonn

%O 1,2

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)