Number of integer solutions to x^2+y^2+z^2 = n^2, allowing zeros and distinguishing signs and order.
A016725
Number of integer solutions to x^2+y^2+z^2 = n^2, allowing zeros and distinguishing signs and order.
Terms
- a(0) =1a(1) =6a(2) =6a(3) =30a(4) =6a(5) =30a(6) =30a(7) =54a(8) =6a(9) =102a(10) =30a(11) =78a(12) =30a(13) =78a(14) =54a(15) =150a(16) =6a(17) =102a(18) =102a(19) =126a(20) =30a(21) =270a(22) =78a(23) =150a(24) =30a(25) =150a(26) =78a(27) =318a(28) =54a(29) =174
External references
- oeis: A016725