Catalan's Constant

Catalan's constant.

Catalan's constant C (also denoted K or G) commonly appears in estimates of combinatorial functions and may be defined by the following infinite series

upper C equals sigma-summation Underscript n equals 0 Overscript normal infinity Endscripts StartFraction left-parenthesis negative 1 right-parenthesis Superscript n Baseline Over left-parenthesis 2 n plus 1 right-parenthesis squared EndFraction equals StartFraction 1 Over 1 squared EndFraction minus StartFraction 1 Over 3 squared EndFraction plus StartFraction 1 Over 5 squared EndFraction minus StartFraction 1 Over 7 squared EndFraction plus midline-horizontal-ellipsis

Usage

var CATALAN = require( '@stdlib/constants/math/float64-catalan' );

CATALAN

Catalan's constant.

var bool = ( CATALAN === 0.915965594177219 );
// returns true

Examples

var CATALAN = require( '@stdlib/constants/math/float64-catalan' );

console.log( CATALAN );
// => 0.915965594177219