Debian Codegraph @

doc/matho-sumsq.1.html

raw
1 <!-- manual page source format generated by PolyglotMan v3.2, -->
2 <!-- available at http://polyglotman.sourceforge.net/ -->
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
4
5 <html>
6 <head>
7 <meta name="generator" content=
8 "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
9
10 <title>MATHO-SUMSQ(1) manual page</title>
11 </head>
12
13 <body bgcolor='white'>
14 <a href='#toc'>Table of Contents</a>
15
16 <h2><a name='sect0' href='#toc0'>Name</a></h2>matho-sumsq - Find
17 the minimum sum of the squares for integers
18
19 <h2><a name='sect1' href=
20 '#toc1'>Synopsis</a></h2><b>matho-sumsq</b> [<i>numbers</i>]
21
22 <h2><a name='sect2' href='#toc2'>Description</a></h2>This
23 command-line utility is optionally part of the <a href=
24 'mathomatic.1.html'><b>mathomatic</b>(1)</a> package. It finds
25 the minimum number of positive integers that when squared and
26 added together, equal the given number. There is a proof that no
27 more than 4 squares summed together are required to represent any
28 positive integer.
29
30 <p>The command-line may contain positive integers to find the
31 minimum squares of, they must be less than 2147483648 (2^31) on
32 32-bit systems or less than 9223372036854775808 (2^63) on 64-bit
33 systems. If "+" is appended to the given number, the program
34 counts up from the given number. If the minimum number of squares
35 is 2, this program displays all possible combinations with 2
36 squares for the given number, otherwise it just displays the
37 first combination it finds.</p>
38
39 <p>If no command-line arguments are given, the programs reads the
40 numbers from standard input.</p>
41
42 <h2><a name='sect3' href='#toc3'>Author</a></h2>George Gesslein
43 II ([email protected]) at "<a href=
44 'http://www.mathomatic.org'>http://www.mathomatic.org</a> ".
45
46 <h2><a name='sect4' href='#toc4'>Reporting Bugs</a></h2>If you
47 find a bug, please report it to the author or at "<a href=
48 'https://launchpad.net/mathomatic'>https://launchpad.net/mathomatic</a>
49 ".
50
51 <h2><a name='sect5' href='#toc5'>See Also</a></h2><a href=
52 'mathomatic.1.html'><b>mathomatic</b>(1)</a> , <a href=
53 'matho-pascal.1.html'><b>matho-pascal</b>(1)</a> , <a href=
54 'matho-primes.1.html'><b>matho-primes</b>(1)</a>
55 <hr>
56
57 <p><a name='toc'><b>Table of Contents</b></a></p>
58
59 <ul>
60 <li><a name='toc0' href='#sect0'>Name</a></li>
61
62 <li><a name='toc1' href='#sect1'>Synopsis</a></li>
63
64 <li><a name='toc2' href='#sect2'>Description</a></li>
65
66 <li><a name='toc3' href='#sect3'>Author</a></li>
67
68 <li><a name='toc4' href='#sect4'>Reporting Bugs</a></li>
69
70 <li><a name='toc5' href='#sect5'>See Also</a></li>
71 </ul>
72 </body>
73 </html>