diff --git a/lz/prealgebra/enum.Prealgebra.html b/lz/prealgebra/enum.Prealgebra.html index caeafe1..fce6300 100644 --- a/lz/prealgebra/enum.Prealgebra.html +++ b/lz/prealgebra/enum.Prealgebra.html @@ -43,34 +43,34 @@
Finds all factor pairs for a positive integer.
lz prealgebra factor-pairs 12
-The factor pairs of 12 are [(1, 12), (2, 6), (3, 4)].
--r or --raw)[(1, 12), (2, 6), (3, 4)]
+The factor pairs of 12 are {(1, 12), (2, 6), (3, 4)}.
+-r or --raw){(1, 12), (2, 6), (3, 4)}
Finds all factors for a positive integer.
lz prealgebra factors 12
-The factors of 12 are [1, 2, 3, 4, 6, 12].
--r or --raw)[1, 2, 3, 4, 6, 12]
+The factors of 12 are {1, 2, 3, 4, 6, 12}.
+-r or --raw){1, 2, 3, 4, 6, 12}
Finds all multiples of a positive integer in a given range.
lz prealgebra multiples-in-range 3 10
-The multiples of 3 in the range [1, 10] are [3, 6, 9].
--r or --raw)[3, 6, 9]
+The multiples of 3 in the range [1, 10] are {3, 6, 9}.
+-r or --raw){3, 6, 9}
Finds all primes in a given range.
lz prealgebra primes-in-range 1 10
-The primes in the range [1, 10] are [2, 3, 5, 7].
--r or --raw)[2, 3, 5, 7]
+The primes in the range [1, 10] are {2, 3, 7, 5}.
+-r or --raw){2, 3, 7, 5}
Finds the prime factorization of a positive integer.
lz prealgebra prime-factorization 12
-The prime factorization of 12 is {2: 2, 3: 1}.
--r or --raw){2: 2, 3: 1}
+The prime factorization of 12 is {3: 1, 2: 2}.
+-r or --raw){3: 1, 2: 2}
Determines if a positive integer is composite.
diff --git a/src/lz/prealgebra.rs.html b/src/lz/prealgebra.rs.html index 32b7dd4..fcd0e5e 100644 --- a/src/lz/prealgebra.rs.html +++ b/src/lz/prealgebra.rs.html @@ -363,13 +363,13 @@ /// ### Output /// /// ```bash - /// The factor pairs of 12 are [(1, 12), (2, 6), (3, 4)]. + /// The factor pairs of 12 are {(1, 12), (2, 6), (3, 4)}. /// ``` /// /// ## Raw Output (use `-r` or `--raw`) /// /// ```bash - /// [(1, 12), (2, 6), (3, 4)] + /// {(1, 12), (2, 6), (3, 4)} /// ``` FactorPairs { /// The positive integer to find factor pairs for. @@ -391,13 +391,13 @@ /// ### Output /// /// ```bash - /// The factors of 12 are [1, 2, 3, 4, 6, 12]. + /// The factors of 12 are {1, 2, 3, 4, 6, 12}. /// ``` /// /// ## Raw Output (use `-r` or `--raw`) /// /// ```bash - /// [1, 2, 3, 4, 6, 12] + /// {1, 2, 3, 4, 6, 12} /// ``` Factors { /// The positive integer to find factors for. @@ -419,13 +419,13 @@ /// ### Output /// /// ```bash - /// The multiples of 3 in the range [1, 10] are [3, 6, 9]. + /// The multiples of 3 in the range [1, 10] are {3, 6, 9}. /// ``` /// /// ## Raw Output (use `-r` or `--raw`) /// /// ```bash - /// [3, 6, 9] + /// {3, 6, 9} /// ``` MultiplesInRange { /// The positive integer to find multiples for. @@ -449,13 +449,13 @@ /// ### Output /// /// ```bash - /// The primes in the range [1, 10] are [2, 3, 5, 7]. + /// The primes in the range [1, 10] are {2, 3, 7, 5}. /// ``` /// /// ## Raw Output (use `-r` or `--raw`) /// /// ```bash - /// [2, 3, 5, 7] + /// {2, 3, 7, 5} /// ``` PrimesInRange { /// The lower bound of the range to find primes in. @@ -479,13 +479,13 @@ /// ### Output /// /// ```bash - /// The prime factorization of 12 is {2: 2, 3: 1}. + /// The prime factorization of 12 is {3: 1, 2: 2}. /// ``` /// /// ## Raw Output (use `-r` or `--raw`) /// /// ```bash - /// {2: 2, 3: 1} + /// {3: 1, 2: 2} /// ``` PrimeFactorization { /// The positive integer to find the prime factorization of.