Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A016725
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A016725 Number of integer solutions to x^2+y^2+z^2 = n^2, allowing zeros and distinguishing signs and order. +0
2
1, 6, 6, 30, 6, 30, 30, 54, 6, 102, 30, 78, 30, 78, 54, 150, 6, 102, 102, 126, 30, 270, 78, 150, 30, 150, 78, 318, 54, 174, 150, 198, 6, 390, 102, 270, 102, 222, 126, 390, 30, 246, 270, 270, 78, 510, 150, 294, 30, 390, 150, 510, 78, 318, 318, 390, 54, 630, 174, 366 (list; graph; listen)
OFFSET

0,2

LINKS

Michael Gilleland, Some Self-Similar Integer Sequences

Eric Weisstein's World of Mathematics, Sum of Squares Function

MAPLE

for n from 0 to 60 do s:=0: for x from -n to n do for y from -n to n do for z from -n to n do if (x^2+y^2+z^2) = n^2 then s:=s+1 fi od od od: printf("%d, ", s) od:

CROSSREFS

Cf. A005875.

Sequence in context: A077193 A056482 A123874 this_sequence A151779 A066714 A054436

Adjacent sequences: A016722 A016723 A016724 this_sequence A016726 A016727 A016728

KEYWORD

nonn

AUTHOR

csvcjld(AT)nomvst.lsumc.edu

EXTENSIONS

Revised description and Maple program from C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 13 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 20 16:54 EST 2009. Contains 171081 sequences.


AT&T Labs Research