# Von neumann ordinals generator

## World's simplest integer tool

This online utility generates the definitions of positive integers using von Neumann ordinals and prints the recursive sets in a vertical list. You can switch between the fully expanded recursive definition that uses subsets or the symbolic definition that references previous natural numbers. You can also specify the number of recursions and the starting integer, as well as adjust the format of the sets. Created by math nerds from team Browserling.

we have a comic!
comic for nerds

We have created our own comic! Check it out! New comics every week.

A link to this tool, including input, options and all chained tools.

Can't convert.

Von neumann ordinals generator tool
What is a von neumann ordinals generator?

With this webapp, you can generate a sequence of von Neumann ordinals. These ordinals represent positive integers (natural numbers) as a list of recursively defined sets. Each next stage is obtained by forming a new set that combines the previous integer with the set of all previous integers. This way each ordinal is the well-ordered set of all smaller ordinals. The construction of von Neumann ordinals can be performed in two ways – referencing previous natural numbers symbolically or recursively using subsets. Symbolic ordinals start with the base case empty set {}, which represents 0. The next ordinal is constructed by adding the previous ordinal to the previous set. So, the next ordinal after 0 is created by adding 0 to {}. This creates {0}, which represents 1. The next one is 1 added to {0}, which creates {0, 1}, which represents 2. The next one is 2 added to {0, 1}, which creates {0, 1, 2}, which represents 3. Each subsequent iteration adds the previous integer number and this continues to infinity, which is called ω. Ordinals via subsets are constructed recursively by starting with the empty set and then taking all sets containing previously-defined sets as elements. The integer 0 is defined as ∅ (empty set). The next integer 1 is constructed by creating a new set with ∅ as its only element, so we get {∅}, which equals 1. The second recursive stage includes first and zeroth stages and creates the set {∅, {∅}}, which equals 2. The third stage is constructed from the 0th (∅), 1st ({∅}), and 2nd ({∅, {∅}}) subsets and we get {∅, {∅}, {∅, {∅}}} as integer 3. For both types of von Neumann ordinals, you can specify the open "{" and close "}" set symbols, and the empty set symbol, which is usually the ∅ Unicode symbol. You can also customize the set element separator (comma by default), the starting ordinal, and the recursive depth (how many integers to construct). Ordinabulous!

Von neumann ordinals generator examples
Click to use

Symbolic References

In this example, we generate ten stages of von Neumann ordinals symbolically, where each stage references the previous ones. The empty set {} is equal to 0 by definition. Then each next ordinal is obtained by referencing the previous ordinal and adding it to the currently constructed set. So, 1 is {0}, 2 is {0, 1}, 3 is {0, 1, 2}, and so on.

{}
{0}
{0, 1}
{0, 1, 2}
{0, 1, 2, 3}
{0, 1, 2, 3, 4}
{0, 1, 2, 3, 4, 5}
{0, 1, 2, 3, 4, 5, 6}
{0, 1, 2, 3, 4, 5, 6, 7}
{0, 1, 2, 3, 4, 5, 6, 7, 8}

**Required options**

Generate ordinals symbolically
by referencing previous ordinals.

Starting ordinal.

Number of ordinals.

Set element separator symbol.

Open set symbol.

Close set symbol.

Empty set symbol.

Expanded Sets

This example shows the first five ordinals written in the expanded von Neumann notation using sets and subsets. The empty set (∅) is the first element of this sequence and is equal to 0. The next element is 1 and it's equal to a set of all previous sets, which is a set of ∅, which equals {∅}. The next ordinal 2 is again a set of all previous sets and equals {∅, {∅}}, etc. To show what can be customized, we changed the set element separator from a comma to a semicolon.

∅
{∅}
{∅; {∅}}
{∅; {∅}; {∅; {∅}}}
{∅; {∅}; {∅; {∅}}; {∅; {∅}; {∅; {∅}}}}

**Required options**

Generate ordinals recursively
by combining sets of subsets.

Starting ordinal.

Number of ordinals.

Set element separator symbol.

Open set symbol.

Close set symbol.

Empty set symbol.

Von Neumann Ornaments

In this example, we use custom set symbols and generate levels one to six (total of five) of von Neumann construction. We enter the glyph "◈" in the empty set field, glyph "<" in the open set symbol field, and glyph ">" in the close set symbol field, and leave the set element separator field empty that merges all set elements together. In the output, we get beautiful von Neumann patterns.

<◈>
<◈<◈>>
<◈<◈><◈<◈>>>
<◈<◈><◈<◈>><◈<◈><◈<◈>>>>
<◈<◈><◈<◈>><◈<◈><◈<◈>>><◈<◈><◈<◈>><◈<◈><◈<◈>>>>>

**Required options**

Generate ordinals recursively
by combining sets of subsets.

Starting ordinal.

Number of ordinals.

Set element separator symbol.

Open set symbol.

Close set symbol.

Empty set symbol.

Pro tips
Master online integer tools

You can pass options to this tool using their codes as query arguments and it will automatically compute output. To get the code of an option, just hover over its icon. Here's how to type it in your browser's address bar. Click to try!

https://onlineintegertools.com/generate-von-neumann-ordinals?&natural-ordinals=true&start=0&count=10&separator=%2C%20&open-symbol=%7B&close-symbol=%7D&empty-symbol=

All integer tools

Quickly rewrite integer digits using pretty Unicode glyphs.

Quickly generate random two-dimensional integer points.

Quickly generate random three-dimensional integer points.

Quickly print a list of integers that are palindromes.

Quickly convert the given integer to a palindromic integer.

Quickly find all integers in the given text or string.

Quickly make integer digits go in a triangle wave.

Quickly unleash the destructive force of Zalgo on integers.

Quickly find two or more integers that add up to the given integer.

Quickly find several integers that multiply up to the given integer.

Quickly randomize the given sequence of integers.

Quickly mix the order of digits in an integer.

Quickly put integers in increasing or decreasing order.

Quickly sort the individual digits of an integer.

Quickly increase all integers by a certain amount.

Quickly increase individual digits by a certain amount.

Quickly decrease all integers by a certain amount.

Quickly decrease individual digits by a certain amount.

Quickly randomly select an integer from a list of integers.

Quickly create groups from the digits of an integer.

Quickly write integer digits backwards.

Quickly remove one or more digits from an integer.

Quickly replace one or more digits in an integer.

Quickly drop digits from an integer and make it shorter.

Quickly add the thousands separator to integers.

Quickly remove the thousands separator from integers.

Quickly find the largest integer in a list of integers.

Quickly find the smallest integer in a list of integers.

Quickly find the total sum of a bunch of integers.

Quickly find the sum of all the digits in an integer.

Quickly find the total product of a bunch of integers.

Quickly find the product of all the digits in an integer.

Quickly calculate the partial sum of a bunch of integers.

Quickly calculate the partial product of a bunch of integers.

Quickly flip the sign of one or more integers.

Quickly split an integer into chunks of a given length.

Quickly merge partial integers together to form a larger integer.

Quickly round integers up or down to the required precision.

Quickly convert integers to a downloadable picture.

Quickly generate a list of von Neumann ordinals.

Quickly generate a list of Zermelo ordinals.

Quickly generate an ordered sequence of integers.

Quickly generate an ordered list of even integers.

Quickly generate an ordered list of odd integers.

Quickly write an integer spelling in words.

Quickly convert spelled integers to regular integers with digits.

Quickly generate an array of integers for programming.

Quickly find the number of occurrences of digits in integers.

Coming soon
These integer tools are on the way

Draw von Neumann Universe

Create a drawing that visualizes von Neumann hierarchy of sets.

Create Integer n-Tuples

Generate a list of tuples of integers with n elements.

Convert Integers to Unary Base

Quickly convert integers to base one.

Convert Unary Base to Integers

Quickly convert base one to integers.

Convert Integers to Binary Base

Quickly convert integers to base two.

Convert Binary Base to Integers

Quickly convert base two to integers.

Convert Integers to Octal Base

Quickly convert integers to base eight.

Convert Octal Base to Integers

Quickly convert base eight to integers.

Convert Integers to Hex Base

Quickly convert integers to base sixteen.

Convert Hex Base to Integers

Quickly convert base sixteen to integers.

Convert Integers to Base64

Quickly encode integers to base-64.

Convert Base64 to Integers

Quickly decode base-64 to integers.

Change Integer Base

Quickly convert integers to a custom base.

Convert Integers to HTML Entities

Quickly encode integers to HTML encoding.

Convert HTML Entities to Integers

Quickly decode HTML entities to integers.

Convert Integers to URL Encoding

Quickly encode integers to URL (percent) encoding.

Convert URL Encoding to Integers

Quickly decode URL-encoded integers.

Convert Signed Integer to Unsigned

Quickly convert a signed integer to an unsigned integer.

Convert Unsigned Integer to Signed

Quickly convert an unsigned integer to a signed integer.

Create Random Integers

Generate a list of random integers.

Check if an Integer is Symmetric

Check if the given integers are palindromes.

Generate an Integer Matrix

Create a matrix whose entries are all integers.

Generate an Integer Vector

Create a vector with integer coefficients.

Find the Average

Quickly calculate the average value of integers.

Find the Digit Average

Quickly calculate the average value of integer digits.

Clamp Integers

Limit integer values to a range.

Clamp Integer Digits

Limit integer digit values to a range.

Duplicate Integers

Create multiple copies of the input integers.

Rotate Integers

Rotate the digits of an integer to the left or right.

Shift Integer Digits

Move the digits of an integer to the left or right.

Subtract Integers

Quickly find the difference of a bunch of integers.

AND Integers

Quickly apply the bitwise AND operation to integers.

OR Integers

Quickly apply the bitwise OR operation to integers.

XOR Integers

Quickly apply the bitwise XOR operation to integers.

NOT Integers

Quickly apply the bitwise NOT operation to integers.

NAND Integers

Quickly apply the bitwise NAND operation to integers.

NOR Integers

Quickly apply the bitwise NOR operation to integers.

XNOR Integers

Quickly apply the bitwise NXOR operation to integers.

Convert an Integer to Ordinal

Add -st, -nd, -rd, -th suffixes to integers to make them ordinals.

Convert an Oridinal to Integer

Remove -st, -nd, -rd, -th suffixes from ordinals to make them ints.

Filter Integers

Find integers that match a filter (greater, less, equal).

Left-pad Integers

Add padding to integers on the left side.

Right-pad Integers

Add padding to integers on the right side.

Right-align Integers

Position all integers so that they align on the right.

Center Integers

Position all integers so that they align in the middle.

Take Absolute Value of Integers

Turn all integers into positive integers.

Make All Integers Negative

Turn all integers into negative integers.

Convert Integers to Fractions

Rewrite an integer in fractional form.

Convert Fractions to Integers

Extract the numerator and denominator from a fraction.

Find and Replace Integers

Search for all occurrences of an integer and replace it.

Generate Integers from a Regex

Create integers that match the given regular expression.

Generate Small Integers

Create relatively tiny integers.

Generate Big Integers

Create relatively huge integers.

Generate Oscillating Integers

Create a sequence of oscillating integers, such as 123212321.

Color Integers

Add color to integers based on a condition.

Color Integer Digits

Add color to individual digits in the given integers.

Draw an Integer Spiral

Make the digits of an integer go in a spiral shape.

Draw an Integer Circle

Make the digits of an integer go in a circle.

Draw an Integer Box

Fill a box with certain width and height with digits.

Create 2D Integers

Use ASCII art to convert integers to 2-dimensional drawings.

Create 3D Integers

Use ASCII art to convert integers to 3-dimensional drawings.

Decompose an Integer

Decompose an integer into ones, tens, hundreds, etc.

Find Patterns in Integers

Find hidden patterns of numbers in integers.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!