This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A024803 Numbers that are the sum of 3 distinct nonzero squares, including repetitions. 5
 14, 21, 26, 29, 30, 35, 38, 41, 42, 45, 46, 49, 50, 53, 54, 56, 59, 61, 62, 62, 65, 66, 69, 69, 70, 74, 74, 75, 77, 77, 78, 81, 83, 84, 86, 86, 89, 89, 90, 90, 91, 93, 94, 94, 98, 98, 101, 101, 101, 104, 105, 105, 106, 107, 109, 110, 110, 110, 113, 114, 115, 116, 117 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Numbers n = x^2 + y^2 + z^2, with 0y and z>x then a := a+1 ; fi ; fi ; od ; od ; RETURN(a) ; end: for n from 1 to 200 do a := A024803(n) : for i from 1 to a do printf("%d ", n) ; od ; od : # R. J. Mathar, Mar 15 2007 MATHEMATICA a=1; b=2; c=3; lst={}; Do[Do[Do[s=a^2+b^2+c^2; AppendTo[lst, s], {a, 1, b-1}], {b, a, c-1}], {c, b, 25}]; lst; Take[Sort[lst], 123] (* Vladimir Joseph Stephan Orlovsky, Jan 22 2009 *) Sort[Total/@Subsets[Range[10]^2, {3}]] (* Harvey P. Dale, Mar 22 2012 *) CROSSREFS Cf. A004432, A001974. Sequence in context: A093994 A114985 A001944 * A004432 A025339 A224771 Adjacent sequences:  A024800 A024801 A024802 * A024804 A024805 A024806 KEYWORD nonn,easy AUTHOR EXTENSIONS Zak Seidov pointed out that there were errors. These have now been corrected. - N. J. A. Sloane, Dec 05 2006 More terms from R. J. Mathar, Mar 15 2007 STATUS approved

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

Last modified December 14 22:42 EST 2019. Contains 329987 sequences. (Running on oeis4.)