Skip to content
All references

Math reference

Whole Numbers, Sequences & Rounding

Use exact divisibility, arithmetic and geometric patterns, and cent-based rounding for everyday calculations.

8 of 8 entries

Divisibility

Greatest common divisor

GCD(12, 18, 24) = 6

The GCD is the greatest positive divisor shared by the inputs. Negative signs are ignored when comparing divisibility.

Divisibility

Least common multiple

LCM(12, 18, 24) = 72

The LCM is a shared multiple. BigForgeKit uses the convention LCM = 0 when any input is zero.

Divisibility

Reduce before multiplying

LCM(a,b) = |a / GCD(a,b) × b|, when a and b are nonzero

Dividing first avoids an unnecessarily large intermediate product. The calculator keeps supported integer arithmetic exact.

Sequences

Arithmetic progression

Start 3, step 4 → 3, 7, 11, 15

Each new term adds the same step. The sequence generator computes terms from the start and index rather than repeatedly accumulating a step.

Sequences

Geometric progression

Start 3, multiplier 2 → 3, 6, 12, 24

Each term multiplies by the same ratio. Values can grow rapidly; the generator reports a magnitude-limit error instead of returning infinity.

Precision

Exact integers versus rounded decimals

12345678901234567890 is exact with integer arithmetic.
0.1 + 0.2 uses floating-point arithmetic in many applications.

GCD and LCM use large integers. The sequence generator accepts decimal values and displays up to 12 significant digits; these are different precision contracts.

Rounding

Split in the smallest money unit

10.00 split three ways → 3.34 + 3.33 + 3.33

Bill Splitter works in whole cents and distributes the remainder. Independently rounding every share can leave a total that does not match the bill.

Rounding

Round the tip once

Bill 50.00, tip 10% → tip 5.00
Total to split: 55.00

The entered bill already includes any existing charges. The tool rounds its added tip once before allocating shares; it does not choose a tax or gratuity policy.