Bernoulli Triangle Calculator

Row

Last entry (the full row sum)32
Bernoulli row1, 6, 16, 26, 31, 32
Middle entry16
Entry T(n, 1)6
How this was calculated
  1. The Bernoulli triangle is built from partial sums of the rows of Pascal's triangle: each entry adds one more binomial coefficient to the running total.
  2. Row 5 of Pascal's triangle is 1, 5, 10, 10, 5, 1, and its partial sums give the Bernoulli row 1, 6, 16, 26, 31, 32.
  3. The middle entry of the row is 16, and the second entry is always n + 1 = 6.
  4. The last entry is the full sum of the Pascal row, which is always 2^n = 32 - a built-in check that the partial sums were added correctly.

The Bernoulli triangle calculator builds this triangle for you by taking partial sums of the rows of Pascal's triangle. You enter which row you need, and the calculator returns the full row of the Bernoulli triangle. For example, row 4 is 1, 5, 11, 15, 16, and row 5 is 1, 6, 16, 26, 31, 32. The last entry of row n is always 2^n, because it sums the entire Pascal row. So row 10 ends at 1,024, and its middle entry is 638. The calculator gives you these values directly, so you don't have to add up Pascal rows by hand.

The underlying method is the accepted standard for this kind of calculation because the Bernoulli triangle is defined exactly as the partial sums of Pascal's rows. That definition leaves no room for a different approach: each entry is the sum of the entries up to that position in the corresponding Pascal row. This page shows the formula, step-by-step workings, worked examples and sources, so you can follow how each row is built and check the results yourself. Whether you need row 4, row 5, row 10 or any other row, the calculator applies the same reliable method and shows the answer along with the details behind it.

Worked examples

Row 4 ends at 16

(4)

Last entry (the full row sum)16
Bernoulli row1, 5, 11, 15, 16
Middle entry11
Entry T(n, 1)5

Row 5 ends at 32

(5)

Last entry (the full row sum)32
Bernoulli row1, 6, 16, 26, 31, 32
Middle entry16
Entry T(n, 1)6

Row 10 ends at 1,024

(10)

Last entry (the full row sum)1,024
Bernoulli row1, 11, 56, 176, 386, 638, 848, 968, 1,013, 1,023, 1,024
Middle entry638
Entry T(n, 1)11

What is the Bernoulli triangle?

The Bernoulli triangle is built from Pascal's triangle by addition, row by row. Take a row of Pascal's triangle and add its entries from left to right, writing down each running total as you go. Those partial sums become the entries of the corresponding Bernoulli row. Where Pascal's triangle asks you to add the two numbers above an entry, the Bernoulli triangle simply asks you to keep a running tally across a Pascal row — which is why a bernoulli triangle calculator can generate the table quickly once you understand the rule.

Seeing the two triangles side by side makes the construction concrete. Pascal's row 4 reads 1, 4, 6, 4, 1. The running totals are 1, then 1 + 4 = 5, then 5 + 6 = 11, then 11 + 4 = 15, then 15 + 1 = 16 — so row 4 of the Bernoulli triangle is 1, 5, 11, 15, 16. The same process on Pascal's row 5 (1, 5, 10, 10, 5, 1) gives 1, 6, 16, 26, 31, 32. Each Bernoulli row therefore has one more entry than the Pascal row it comes from, because every partial sum is recorded, starting with the first entry itself.

The final entry of each row carries a clean piece of structure. The last partial sum adds every entry of the Pascal row, and the entries of row n of Pascal's triangle add up to 2^n. That is why the last entry of row n in the Bernoulli triangle is always 2^n: it sums the whole Pascal row. Row 5 ends at 32, which is 2^5, and row 10 ends at 1,024, which is 2^10. The same row shows that the interior entries are not simple powers — the middle entry of row 10 is 638.

Two habits keep the numbers straight. First, remember that the Bernoulli triangle is a table of cumulative sums, not a table of differences, so its rows grow at least as fast as the Pascal rows beneath them. Second, check the last entry against 2^n whenever you want a quick confirmation that a row was built correctly. The early rows are short enough to verify by hand, and longer rows are where a Bernoulli triangle calculator saves the most time.

  • Pascal row 4: 1, 4, 6, 4, 1 → Bernoulli row 4: 1, 5, 11, 15, 16
  • Pascal row 5: 1, 5, 10, 10, 5, 1 → Bernoulli row 5: 1, 6, 16, 26, 31, 32
  • Row 10 ends at 1,024 (that is 2^10), and its middle entry is 638
  • The last entry of row n is always 2^n, because it sums the whole Pascal row
Quick check: the last entry of row n should equal 2^n. Row 5 ends at 32 and row 10 ends at 1,024 — if your final number matches, your running totals are on track.

Worked rows

Row 4 of the Bernoulli triangle is 1, 5, 11, 15, 16. You can rebuild it entry by entry from row 4 of Pascal's triangle, which is 1, 4, 6, 4, 1. The Bernoulli triangle is formed by taking partial sums of the rows of Pascal's triangle, so each entry is a running total: start with 1, add 4 to get 5, add 6 to get 11, add 4 to get 15, and add the final 1 to get 16. The last entry, 16, matches 2^4, exactly as the rule predicts, because the last entry of row n sums the whole Pascal row.

Row 5 works the same way. Pascal's row 5 is 1, 5, 10, 10, 5, 1, and the Bernoulli row 5 is 1, 6, 16, 26, 31, 32. Running the partial sums: 1, then 1 + 5 = 6, then 6 + 10 = 16, then 16 + 10 = 26, then 26 + 5 = 31, and finally 31 + 1 = 32. The last entry is 32, which is 2^5, so the check passes. Notice that the second entry of each row is one more than the row number itself: row 4 starts 1, 5 and row 5 starts 1, 6. That falls straight out of the partial-sum construction, since the second Pascal entry of row n is n.

Row 10 is too long to list in full here, but two of its entries are given and both let you check the pattern. Row 10 ends at 1,024, and its middle entry is 638. The ending value is 2^10, which confirms the rule that the last entry of row n is always 2^n. The middle entry, 638, is the running total partway along Pascal's row 10; it is not a power of two and sits well below the final 1,024, which is what you would expect from a partial sum that has not yet absorbed the entire Pascal row.

If you are using a bernoulli triangle calculator, these three rows are a good way to test that it is doing the right thing. Enter a row number and compare the output against the values above: row 4 should read 1, 5, 11, 15, 16; row 5 should read 1, 6, 16, 26, 31, 32; and row 10 should end at 1,024 with 638 in the middle. Checking the last entry against 2^n gives you a fast, independent confirmation that the partial sums were taken correctly, and the entry-by-entry rebuild shows exactly where each number comes from.

Row nBernoulli triangle rowLast entry2^n
41, 5, 11, 15, 161616
51, 6, 16, 26, 31, 323232
10ends at 1,024; middle entry 6381,0241,024
Quick check: the last entry of row n is always 2^n. Row 4 ends at 16, row 5 ends at 32, and row 10 ends at 1,024.

Patterns in the triangle

Once you have generated a few rows, the Bernoulli triangle starts showing regularities that are worth knowing before you rely on any single number. Because each row is built from partial sums of a Pascal's triangle row, some positions behave in very predictable ways, and spotting them lets you sanity-check results from a bernoulli triangle calculator without redoing the whole construction by hand.

The second entry in every row is the simplest pattern: it is always n + 1. You can see this in the rows given here. Row 4 begins 1, 5, 11, 15, 16, and its second entry is 5, which is 4 + 1. Row 5 begins 1, 6, 16, 26, 31, 32, and its second entry is 6, which is 5 + 1. The pattern follows directly from the partial-sum construction: the second position accumulates the first entries of the Pascal row, and that accumulation lands on n + 1 each time.

The middle entries are the ones that grow fastest and are hardest to guess. In row 10 the middle entry is 638, while the row's final entry is 1,024. The middle value sits well below the last entry but far above the small values at the start of the row, which is typical of how these rows fill out: they rise steeply through the center and then level toward the endpoint. If you are checking a computed row, comparing the middle entry against the final entry is a quick way to catch an error, since a middle value larger than the row's last entry would be a clear sign something went wrong.

The last entry of row n is always 2^n, because it sums the whole Pascal row. Row 4 ends at 16, which is 2^4, and row 5 ends at 32, which is 2^5. Row 10 ends at 1,024, which is 2^10. This gives you a fixed anchor at the right edge of every row: whatever the interior values are, the row must finish at that power of two.

The left edge region connects to the ordered Bell numbers. The early entries of successive rows — the 1s and the n + 1 values — build up the sequence known as the ordered Bell numbers, so reading down that part of the triangle gives you a running view of that sequence rather than a single isolated value.

  • Second entry of row n: always n + 1 (row 4 gives 5, row 5 gives 6).
  • Middle entries: grow quickly toward the center; row 10's middle entry is 638.
  • Last entry of row n: always 2^n (row 4 gives 16, row 5 gives 32, row 10 gives 1,024).
  • Left edge region: the early entries across rows connect to the ordered Bell numbers.
Quick check: if a row's last entry is not 2^n, or its second entry is not n + 1, the row was not built correctly.

Where it is used

The Bernoulli triangle earns its place in combinatorics because of what its entries actually are: partial sums of the rows of Pascal's triangle. Each entry in a row adds up the binomial coefficients to its left (and above) in the corresponding Pascal row, so a row of the Bernoulli triangle gives you the running totals of that row of Pascal's triangle. That makes it a compact reference for any problem that asks not just for a single binomial coefficient but for how many combinations there are up to some point in a row. In practice, this is why people reach for a bernoulli triangle calculator: rather than summing Pascal entries by hand, they can read the cumulative totals directly.

The structure of the rows shows how quickly these cumulative sums grow. Row 4 of the Bernoulli triangle is 1, 5, 11, 15, 16, and row 5 is 1, 6, 16, 26, 31, 32. Notice that the final entry of each row is simply the total of the entire Pascal row it came from. The last entry of row n is always 2^n, because it sums the whole Pascal row. Row 10 ends at 1,024, which is 2^10, and its middle entry is 638. These facts make the triangle useful for quick checks: if a cumulative count at the end of a row does not match a power of two, something in the setup is off.

The name is a nod to the Bernoulli numbers, and the triangle is often discussed alongside them. Both appear in combinatorial and number-theoretic settings where sums of binomial coefficients matter, and both are used to organize sequences that arise when you accumulate terms rather than count them individually. Keeping the two side by side is helpful because it separates two related ideas: the triangle tracks cumulative binomial totals, while the Bernoulli numbers form their own sequence with its own rules. The shared name is a convenience of mathematical vocabulary, not a claim that one is computed from the other.

For a general audience, the practical value is in avoiding arithmetic slips. Cumulative sums are easy to get wrong by one row or one term, and a single misadded entry propagates through everything after it. Working from the known rows, such as 1, 5, 11, 15, 16 and 1, 6, 16, 26, 31, 32, gives you fixed reference points to compare against. When the totals line up with 2^n at the end of each row, you can be confident the intermediate entries are consistent with the Pascal rows they came from.

  • Combinatorics: rows hold the partial sums of Pascal's triangle rows, giving cumulative binomial counts.
  • Checkpoints: row 4 is 1, 5, 11, 15, 16 and row 5 is 1, 6, 16, 26, 31, 32.
  • Powers of two: the last entry of row n is always 2^n; row 10 ends at 1,024 with a middle entry of 638.
  • Naming: the triangle is discussed alongside the Bernoulli numbers, though the two are distinct constructs.
Quick check: if the last entry of a row is not a power of two, the cumulative sums have drifted from the Pascal row they are built on.

FAQs

How is the Bernoulli triangle built?

Take a row of Pascal's triangle and write its running totals. Each entry in the Bernoulli row is the partial sum of the Pascal entries up to that point, so you add the binomial coefficients one at a time from left to right. The partial sums you collect become the Bernoulli row.

What is the last entry of row n?

The last entry is always 2^n, because it is the sum of the entire Pascal row. For example, row 10 ends at 1,024. Since the final partial sum includes every binomial coefficient in that row, it equals the total of the row, which is 2 raised to the row number.

What is the middle entry of row 10?

The middle entry of row 10 is 638. It is the partial sum of the first six entries of Pascal row 10. Adding those six binomial coefficients in order gives 638, so that value sits in the middle position of the Bernoulli row for row 10.

What is the second entry of any row?

The second entry of any row is n + 1. Row 5 has second entry 6, and row 10 has 11. This happens because the second Bernoulli entry is the partial sum of the first two Pascal entries, where the first is 1 and the second is n, giving n + 1.

Is the Bernoulli triangle the same as Pascal's triangle?

No. Pascal's triangle holds the binomial coefficients themselves, while the Bernoulli triangle holds their running totals. The two triangles are related because each Bernoulli row is built from a Pascal row, but they are not the same: one lists the coefficients, and the other lists the partial sums of those coefficients.

What is row 4?

Row 4 is 1, 5, 11, 15, 16. These are the partial sums of the Pascal row 1, 4, 6, 4, 1. Adding in order gives 1, then 5, then 11, then 15, and finally 16, which matches the expected last entry of 2^4.

Sources

Related calculators

Catalan Triangle Calculator
Compute Catalan triangle (ballot number) entries T(n, k) = (k + 1)/(n + 1) x C(2n - k, n - k), with the row's Catalan number and row sum.
Schroder Number Calculator
Large and little Schroder numbers from the recurrence, with the growth ratio heading toward 3 + 2 root 2.
Delannoy Number Calculator
Delannoy numbers D(m, n) counting lattice paths with right, up and diagonal steps.