Randomized Pascal's triangle: What is the average of all the numbers?
Statement
This question was posted on MSE. It received some interesting responses, but no definite answer.
Let's build a variation of Pascal's triangle. We write 's going down the sides, as usual. Then for each number inside the triangle, we flip a biased coin, with probability of Heads .
• Heads: write the sum of the two numbers above
• Tails: write the absolute value of the difference between the two numbers above
Here is an example, with . Heads (sum) are in , Tails (difference) are in .
What is the expected average of all the numbers in the triangle, as a function of ?
That is,
What is …
Posed by Dan · pr.probability, limits-and-convergence, binomial-coefficients, expectation
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-479618.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-479618.lean
import Mathlib /-! # Randomized Pascal's triangle: What is the average of all the numbers? Source: https://mathoverflow.net/questions/479618 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_479618 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_479618