DOCUMENTATION CENTER SEARCH
Mathematica
>
Number Theoretic Functions
>
Built-in
Mathematica
Symbol
Integer and Number Theoretic Functions
Tutorials »
|
PowersRepresentations
EllipticTheta
Reduce
See Also »
|
Diophantine Equations
Mathematical Functions
Number Theoretic Functions
Number Theory
New in 6.0: Mathematical Functions
New in 6.0: Number Theory & Integer Functions
More About »
SquaresR
SquaresR
[
d
,
n
]
gives the number of ways
to represent the integer
n
as a sum of
d
squares.
MORE INFORMATION
gives the number of ways to write
, where the
n
i
can be positive, negative or zero.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Number of ways to represent 45 as two sums of squares:
In[1]:=
Out[1]=
Scope
(2)
Applications
(2)
Properties & Relations
(2)
SEE ALSO
PowersRepresentations
EllipticTheta
Reduce
TUTORIALS
Integer and Number Theoretic Functions
MORE ABOUT
Diophantine Equations
Mathematical Functions
Number Theoretic Functions
Number Theory
New in 6.0: Mathematical Functions
New in 6.0: Number Theory & Integer Functions
New in 6
© 2008 Wolfram Research, Inc.