1MATHO-SUMSQ(1)               Mathomatic Utilities               MATHO-SUMSQ(1)
2
3
4

NAME

6       matho-sumsq - Find the minimum sum of the squares for integers
7
8

SYNOPSIS

10       matho-sumsq [numbers]
11
12

DESCRIPTION

14       This command-line utility is optionally part of the mathomatic(1) pack‐
15       age.  It finds the  minimum  number  of  positive  integers  that  when
16       squared  and  added together, equal the given number.  There is a proof
17       that no more than 4 squares summed together are required  to  represent
18       any positive integer.
19
20       The  command  line  may contain positive integers, less than 2147483648
21       (2^31), to find the squares of, otherwise the program counts up from 0.
22       If  the number of squares is 2, this program displays all possible com‐
23       binations, otherwise it just displays the first combination it finds.
24
25

AUTHOR

27       George Gesslein II (gesslein@linux.com) at "http://www.mathomatic.org".
28
29

REPORTING BUGS

31       If  you  find  a  bug,  please  report  it  to   the   author   or   at
32       "https://launchpad.net/mathomatic".
33
34

SEE ALSO

36       mathomatic(1), matho-pascal(1), matho-primes(1)
37
38
39
40Mathomatic                                                      MATHO-SUMSQ(1)
Impressum