Entringer Number Calculator

Alternating permutation refinement

CalculatorsFreeNo Signup
4.3(708 reviews)
All Tools

Loading tool...

About Entringer Number Calculator

An Entringer number calculator computing E(n,k) via recurrence E(n,k)=E(n,k-1)+E(n-1,n-k). E(0,0)=1. Row sums give zigzag/tangent/secant numbers. E(n,n)=E_n (Euler zigzag numbers). Connected to alternating permutations. Client-side.

Entringer Number Calculator Features

  • E(n,k) value
  • Triangle
  • Zigzag link
  • Euler numbers
  • Recurrence
Entringer numbers E(n,k): count alternating (zigzag) permutations of {1,...,n} beginning with k+1. Recurrence: E(n,k)=E(n,k-1)+E(n-1,n-k), E(0,0)=1. The diagonal E(n,n) gives the sequence 1,1,1,2,5,16,61,272... (Euler zigzag numbers).

How to Use

Enter n:

  • Triangle: Full E(n,k)
  • Diagonal: Zigzag numbers
  • Sums: Euler numbers

Boustrophedon

The triangle is built 'boustrophedon' (ox-turning): odd rows left-to-right, even rows right-to-left. Each entry = previous + entry above from opposite end. This zigzag construction mirrors the alternating permutation definition.

Connections

E(2n,2n) = E_{2n} = secant numbers (Euler numbers). E(2n+1,2n+1) = T_n = tangent numbers. The Entringer triangle unifies both into a single combinatorial object.

Step-by-Step Instructions

  1. 1Enter n.
  2. 2View triangle.
  3. 3See diagonal.
  4. 4Connect to Euler.
  5. 5Explore recurrence.

Entringer Number Calculator — Frequently Asked Questions

What are alternating permutations?+

A permutation π₁π₂...πn is alternating if π₁>π₂<π₃>π₄<... (down-up). E(n,k) refines this by fixing the starting element. The total count of alternating permutations of [n] is E(n,n) = E_n (Euler zigzag number).

How does boustrophedon construction work?+

Start with 1. Row n is built by partial sums of row n-1, but alternating direction. Odd rows: sum left-to-right. Even rows: sum right-to-left. This 'ox-turning' pattern is why it's called boustrophedon.

What's the connection to trigonometric functions?+

sec(x) + tan(x) = Σ E_n·x^n/n!. So Entringer/zigzag numbers are Taylor coefficients of sec+tan! Even-indexed give sec coefficients (secant numbers), odd-indexed give tan coefficients (tangent numbers).

Share this tool: