# logStirlingSecondKind

> **logStirlingSecondKind**(`n`, `k`): `number`

Defined in: [packages/combinatorics/src/stirling-second-kind.ts:38](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/combinatorics/src/stirling-second-kind.ts#L38)

Take the natural logarithm of the second-kind count. Returns -Infinity for a zero count.

## Parameters

### n

`number`

### k

`number`

## Returns

`number`

## Throws

With `INVALID_COUNT` for an invalid count or `COUNT_TOO_LARGE` if n exceeds `COMBINATORICS_MAX_COUNT`.
