sos100 | R Documentation |
Five data matrices with precomputed results from sumofsquares(n, 10, zerosum=TRUE, maxt=Inf)
for
n=100
, n=200
, n=400
,n=800
, and n=1000
.
data(sos)
sos200
sos400
sos800
sos1000
For each line of a 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(sos)
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.