Special Numbers and Sequences

Discover triangular numbers, perfect numbers, π, e, φ, and other fascinating mathematical constants.

advancedenrichmentsequencesnumber-theoryconstantshigh-schoolUpdated 2026-02-02

Introduction to Special Numbers

Mathematics is full of fascinating patterns and constants

Some numbers appear repeatedly in nature, science, and mathematics

Topics:

  • Special sequences
  • Mathematical constants
  • Number patterns
  • Historical significance

Triangular Numbers

Triangular numbers: Numbers that form triangular patterns

Sequence: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55...

Formula: Tₙ = n(n+1)/2 = 1 + 2 + 3 + ... + n

Visual pattern:

*          *          *
          * *        * *
                    * * *
T₁=1      T₂=3       T₃=6

Example: Calculate Triangular Numbers

T₅ = 5(6)/2 = 15

T₁₀ = 10(11)/2 = 55

T₁₀₀ = 100(101)/2 = 5050

Fun fact: Gauss solved 1+2+...+100 = 5050 as a child!

Square Numbers

Perfect squares:

Sequence: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100...

Visual pattern:

*     * *     * * *
      * *     * * *
              * * *
1²=1  2²=4    3²=9

Property: Sum of first n odd numbers = n²

Example: 1 + 3 + 5 + 7 = 16 = 4²

Cubic Numbers

Perfect cubes:

Sequence: 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000...

Visual: Number of unit cubes in n×n×n cube

Example: Cubic Pattern

Sum of consecutive cubes:

1³ + 2³ + 3³ + ... + n³ = [n(n+1)/2]²

1³ + 2³ + 3³ = 1 + 8 + 27 = 36 = 6² = [3(4)/2]²

Fun fact: Sum of cubes equals square of triangular number!

Fibonacci Numbers (Revisited)

Sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144...

Formula: Fₙ = Fₙ₋₁ + Fₙ₋₂

Special properties:

Binet's formula (explicit):

Fₙ = (φⁿ - ψⁿ) / √5

Where φ = (1+√5)/2, ψ = (1-√5)/2

Ratio: Fₙ₊₁/Fₙ approaches φ (golden ratio)

Perfect Numbers

Perfect number: Equals sum of proper divisors

Proper divisors: All divisors except number itself

First perfect numbers: 6, 28, 496, 8128...

All known perfect numbers are even

Unknown: Are there infinitely many? Any odd perfect numbers?

Example: Verify Perfect Number

6:

  • Divisors: 1, 2, 3
  • Sum: 1 + 2 + 3 = 6 ✓

28:

  • Divisors: 1, 2, 4, 7, 14
  • Sum: 1 + 2 + 4 + 7 + 14 = 28 ✓

Formula: 2^(p-1) × (2^p - 1) when 2^p - 1 is prime

Mersenne Primes

Mersenne prime: Prime of form 2^p - 1 (where p is prime)

Examples:

  • 2² - 1 = 3 (prime)
  • 2³ - 1 = 7 (prime)
  • 2⁵ - 1 = 31 (prime)
  • 2⁷ - 1 = 127 (prime)

Connection to perfect numbers: Each Mersenne prime gives perfect number

p = 2: 2¹(3) = 6 p = 3: 2²(7) = 28 p = 5: 2⁴(31) = 496

Currently: 51 known Mersenne primes (as of 2024)

Prime Number Patterns

Prime numbers: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31...

Gaps grow larger: But infinitely many primes exist

Twin primes: Primes differing by 2 (3 and 5, 11 and 13, 17 and 19...)

Prime number theorem: Approximately n/ln(n) primes below n

Example: Prime Density

Below 100: 25 primes (25%)

Below 1000: 168 primes (16.8%)

Below 10000: 1229 primes (12.3%)

Primes become less dense as numbers grow

Pi (π)

Definition: Ratio of circle's circumference to diameter

Value: π ≈ 3.14159265358979...

Properties:

  • Irrational (never repeats or terminates)
  • Transcendental (not root of polynomial)

Approximations:

  • 22/7 ≈ 3.142857...
  • 355/113 ≈ 3.1415929... (accurate to 6 decimals!)

History: Known for 4000+ years, computed to trillions of digits

Interesting Pi Facts

Buffon's needle: Can estimate π by dropping needles

Basel problem: 1 + 1/4 + 1/9 + 1/16 + ... = π²/6

Wallis product: π/2 = (2×2)/(1×3) × (4×4)/(3×5) × (6×6)/(5×7) × ...

Leibniz formula: π/4 = 1 - 1/3 + 1/5 - 1/7 + 1/9 - ...

Euler's Number (e)

Definition: Base of natural logarithm

Value: e ≈ 2.71828182845904...

Definition: e = lim(n→∞) (1 + 1/n)ⁿ

Also: e = 1/0! + 1/1! + 1/2! + 1/3! + ... = 1 + 1 + 1/2 + 1/6 + 1/24 + ...

Properties:

  • Irrational and transcendental
  • Rate of natural growth

Applications:

  • Compound interest
  • Population growth
  • Radioactive decay
  • Probability

Example: e in Compound Interest

Formula: A = P·e^(rt)

$1000 at 5% for 10 years:

A = 1000·e^(0.05×10)
A = 1000·e^0.5
A ≈ 1000·1.6487
A ≈ $1648.72

Golden Ratio (φ)

Definition: φ = (1 + √5)/2 ≈ 1.618033988...

Property: φ² = φ + 1

Also: 1/φ = φ - 1

Appears in:

  • Fibonacci ratios
  • Art and architecture (Parthenon)
  • Nature (spirals, petals)
  • Golden rectangle

Golden rectangle: Length/width = φ (most aesthetically pleasing)

Example: Golden Ratio in Fibonacci

F₁₀/F₉ = 55/34 ≈ 1.6176

F₂₀/F₁₉ = 6765/4181 ≈ 1.6180

Approaching φ ≈ 1.6180...

Square Root of 2 (√2)

First known irrational number

Value: √2 ≈ 1.414213562...

Historical significance: Discovered by Pythagoreans (ancient Greece)

Proof shocked mathematicians: Not all numbers are fractions!

Diagonal of unit square: √(1² + 1²) = √2

Approximations:

  • 7/5 = 1.4
  • 17/12 ≈ 1.4167
  • 99/70 ≈ 1.4143

Catalan Numbers

Sequence: 1, 1, 2, 5, 14, 42, 132, 429...

Formula: Cₙ = (1/(n+1)) × (2n choose n)

Applications:

  • Counting binary trees
  • Parentheses arrangements
  • Path counting
  • Polygon triangulations

Example: Parentheses

How many ways to arrange n pairs of parentheses?

n = 1: () → 1 way (C₁ = 1)

n = 2: (()), ()() → 2 ways (C₂ = 2)

n = 3: ((())), (()()), (())(), ()(()), ()()() → 5 ways (C₃ = 5)

Pentagonal Numbers

Formula: Pₙ = n(3n-1)/2

Sequence: 1, 5, 12, 22, 35, 51, 70...

Visual pattern: Pentagon shape

Connection: Appear in partition theory (Euler)

Tetrahedral Numbers

Formula: Tₙ = n(n+1)(n+2)/6

Sequence: 1, 4, 10, 20, 35, 56, 84...

Visual: Number of spheres in triangular pyramid

Sum of triangular numbers: T₁ + T₂ + T₃ + ... + Tₙ

Imaginary Unit (i)

Definition: i² = -1

Allows square roots of negative numbers

Complex numbers: a + bi (a, b real)

Applications:

  • Electrical engineering
  • Quantum mechanics
  • Signal processing

Euler's identity: e^(iπ) + 1 = 0

Called "most beautiful equation in mathematics"

Interesting Number Coincidences

355/113: Approximates π to 6 decimal places

e^π vs π^e: e^π ≈ 23.14 > π^e ≈ 22.46

9! = 362880: Uses all digits 0-9 except 1,4,5,7

1² + 2² + 3² + ... + 24² = 70²

2^5 = 32 and 5² = 25: Powers reverse

Taxicab Number

1729: Ramanujan's famous number

Smallest number expressible as sum of two cubes in two ways:

  • 1729 = 1³ + 12³
  • 1729 = 9³ + 10³

Story: Hardy visited sick Ramanujan, mentioned taxi number 1729 seemed "dull." Ramanujan immediately replied it was "very interesting"!

Kaprekar's Constant (6174)

Process:

  1. Take any 4-digit number (not all same)
  2. Arrange digits descending, then ascending
  3. Subtract smaller from larger
  4. Repeat

Always reaches 6174 in at most 7 steps!

Example: Kaprekar Process

Start: 3524

5432 - 2345 = 3087
8730 - 0378 = 8352
8532 - 2358 = 6174 ✓

Then 7641 - 1467 = 6174 (loops)

Practice

What is the 5th triangular number T₅?

Which is a perfect number?

As n increases, ratio Fₙ₊₁/Fₙ of Fibonacci numbers approaches:

What is π approximately?