Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2 years ago

klaaa gravatar image

Finding representation of a given number as a sum of squares

Is there a quick method using Sage to find all representations of a given (possible very large) positive integer B as a sum x21+....+x2n of exactly n integers xi>0?

Thanks for any help

Finding representation of a given number as a sum of squares

Is there a quick method using Sage to find all representations of a given (possible very large) positive integer B as a sum x21+....+x2n of exactly n integers $x_i >0$?>0,wherewecanassumethatx_i \leq x_{i+1}foralli$?

Thanks for any help