Narayana Number Calculator

C(n,k)·C(n,k-1)/n

CalculatorsFreeNo Signup
4.8(125 reviews)
All Tools

Loading tool...

About Narayana Number Calculator

A Narayana number calculator computing N(n,k) = (1/n)·C(n,k)·C(n,k-1). Narayana numbers refine Catalan numbers: C_n = Σ N(n,k). They count Dyck paths of semilength n with exactly k peaks. Client-side.

Narayana Number Calculator Features

  • N(n,k) value
  • Triangle display
  • Row sums = Catalan
  • Peak counting
  • Table
Narayana numbers: N(n,k) = (1/n)·C(n,k)·C(n,k-1). They refine Catalan: Σ_{k=1}^n N(n,k) = C_n. N(n,k) counts Dyck paths of semilength n with exactly k peaks (local maxima). The Narayana triangle is a beautiful combinatorial object.

How to Use

Enter n and k:

  • N(n,k): Narayana number
  • Triangle: Full display
  • Row sum: = C_n

Narayana Triangle

Row 1: 1. Row 2: 1 1. Row 3: 1 3 1. Row 4: 1 6 6 1. Row 5: 1 10 20 10 1. Compare to Pascal's triangle — similar symmetry but different values. Each row sums to the Catalan number.

Combinatorics

N(n,k) also counts: (1) non-crossing partitions of [n] with k blocks. (2) Planar trees with n edges and k leaves. (3) Ways to triangulate a convex (n+2)-gon with k interior vertices on one side.

Step-by-Step Instructions

  1. 1Enter n.
  2. 2Enter k.
  3. 3Compute N(n,k).
  4. 4View triangle.
  5. 5Check Catalan sum.

Narayana Number Calculator — Frequently Asked Questions

How do Narayana numbers refine Catalan?+

C_n counts ALL Dyck paths. N(n,k) counts those with exactly k peaks. So C_n = N(n,1)+N(n,2)+...+N(n,n). The Narayana numbers decompose Catalan by 'number of peaks', giving finer information.

Is the Narayana triangle symmetric?+

Yes! N(n,k)=N(n,n+1-k). This is because reflecting a Dyck path turns peaks into valleys, giving a bijection between paths with k peaks and n+1-k peaks. The symmetry mirrors Pascal's triangle.

What's special about the generating function?+

The Narayana polynomial N_n(x) = Σ N(n,k)x^k satisfies remarkable properties: it's the h-polynomial of the associahedron, and its roots are all real and negative. This connects to the theory of polytopes.

Share this tool: