8

The formula for CatalanNumber[-1] on this functions.wolfram.com page gives:

-(1/2)

whereas CatalanNumber[-1] directly evaluated gives?

-1
J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
axelclk
  • 297
  • 1
  • 8

1 Answers1

9

This is a bug an enforced convention in CatalanNumber[] (per Chip). Evaluating

Needs["GeneralUtilities`"]
PrintDefinitions[CatalanNumber]

reveals that the definition CatalanNumber[-1] := -1 was hard-coded.

Thus, do this for now if you want the gamma function representation's limiting value:

FunctionExpand[CatalanNumber[n]] /. n -> -1
   -1/2
J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574