Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 12 years ago

parzan gravatar image

All decompositions of a prime as a sum of four squares

Jacobi showed that a prime p has 8(p+1) decompositions as sum of four squares. sage.rings.arith.four_squares computes one such decomposition. Is there a way to compute all of them?

click to hide/show revision 2
No.2 Revision

All decompositions of a prime as a sum of four squares

Jacobi showed that a prime p has 8(p+1) decompositions as a sum of four squares. sage.rings.arith.four_squares computes one such decomposition. Is there a way to compute all of them?