Pascal's Triangle Generator
Generate and explore Pascal's Triangle - a triangular array of binomial coefficients with fascinating mathematical patterns and properties.
Highlight Patterns:
About Pascal's Triangle
Pascal's Triangle is a triangular array where each number is the sum of the two numbers directly above it. Named after Blaise Pascal (1623-1662), though it was known to mathematicians in China, India, and Persia centuries earlier.
Construction Rule
Each row starts and ends with 1. Every other number is the sum of the two numbers above it:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
Mathematical Properties
1. Binomial Coefficients
The numbers in row n are the binomial coefficients C(n,k) or "n choose k", which represent the number of ways to choose k items from n items.
C(n,k) = n! / (k! × (n-k)!)
2. Row Sum = Powers of 2
The sum of numbers in row n equals 2ⁿ:
- Row 0: 1 = 2⁰
- Row 1: 1 + 1 = 2 = 2¹
- Row 2: 1 + 2 + 1 = 4 = 2²
- Row 3: 1 + 3 + 3 + 1 = 8 = 2³
3. Fibonacci Sequence
The Fibonacci sequence can be found by summing the "shallow diagonals" of Pascal's Triangle. Starting from the top, sum along diagonal paths to get: 1, 1, 2, 3, 5, 8, 13, 21...
4. Triangle Numbers
The third diagonal contains the triangle numbers (1, 3, 6, 10, 15...), which represent the number of dots in triangular patterns.
5. Sierpiński Triangle
When you color odd and even numbers differently, a pattern similar to the Sierpiński Triangle fractal emerges. Try the "Even/Odd Numbers" highlighting to see this pattern!
Applications
- Probability Theory - Binomial probability distributions
- Combinatorics - Counting combinations and permutations
- Algebra - Binomial expansion coefficients: (a+b)ⁿ
- Number Theory - Modular arithmetic patterns
- Computer Science - Dynamic programming, algorithm analysis
Related Math Tools
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
-