Skip to content

Borwein vs Goetgheluck #1

@chadbrewbaker

Description

@chadbrewbaker

More of an question than an issue. I would be happy to assist in benchmarking/implementation. I would also like to add in a faster prime sieve.

Borwein came up with an ingenious fast factorial algorithm that computes the exponent of each prime factor of $n!$ then multiplies them all together in one go.

Is Goetgheluck's algorithm which you use for the binomial calculation any faster than three Borwein table calculations? Ruby implementation of Borwein's fast factorial, https://gist.github.com/chadbrewbaker/8445183

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions