7 lines
437 B
Factor
7 lines
437 B
Factor
USING: help.markup help.syntax math ;
|
|
IN: math.algebra
|
|
|
|
HELP: chinese-remainder
|
|
{ $values { "aseq" "a sequence of integers" } { "nseq" "a sequence of positive integers" } { "x" integer } }
|
|
{ $description "If " { $snippet "nseq" } " integers are pairwise coprimes, " { $snippet "x" } " is the smallest positive integer congruent to each element in " { $snippet "aseq" } " modulo the corresponding element in " { $snippet "nseq" } "." } ;
|