Skip to content

Problems with Stirling numbers #104

Closed
@scheinerman

Description

@scheinerman

Stirling numbers of the second kind are always nonnegative and yet:

julia> stirlings2(26,10)
-5247188700862703611

The same issue plagues stirlings1. We have

julia> stirlings1(26,10)
9107464261356742080

but the correct value is 196928100451110820242880.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions