sos100 | R Documentation |
A data matrix with precomputed results from sumofsquares(n, 10, zerosum=TRUE, maxt=Inf)
for n=100
.
More generally, the sos()
function can be used to retrieve or compute results from sumofsquares(n, nmax, zerosum=TRUE, maxt=Inf)
.
data(sos100)
For each line of the matrix it holds \sum_{i=1}^k x_i^2=n
and \sum_{i=1}^k x_i=0
.
It contains all integer solutions up to k <= 10
. NA
means that this entry is not used.
data(sos100)
head(sos100)
rowSums(sos100^2, na.rm=TRUE)
rowSums(sos100, na.rm=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.