paper

A formula for the number of up-down words

arXiv:2503.02005

Abstract

A word is said to be up-down if . Carlitz and Scoville found the generating function for the number of up-down words over an alphabet of size . Using properties of the Chebyshev polynomials we derive a closed-form formula for these numbers.

arXiv comment8 pages. Added a closed formula for cyclic up-down words