Set Builder Calculator

Convert bounds and number rules to set builder notation. List integers, primes, or evenly spaced fractions in roster notation.

Result
—

How to calculate

Choose which endpoints belong and specify the domain. Adjust to the nearest allowed values. For evenly spaced rationals, start from the lower endpoint and add whole multiples of the step.

Worked example

Use Lower endpoint 5 · Upper endpoint 15 · Lower endpoint Include · Upper endpoint Exclude · Number set Integers (ℤ) · Integer condition Odd numbers. The result is {x ∈ ℤ | 5 ≤ x < 15, x is odd}.

Input and result notes

Prime lists accept an upper bound of one trillion and a span of at most 20,000 integers. Large rosters show the first twelve entries and the last entry alongside the full count.

Omni set builder formats and choices

Related calculators