-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decompose n into array of factor 'chunks' of n! #26
Comments
When writing the following, I found out that the 1.x readmes had the wrong
|
Shortcuts:
From now on, assume we instead split
popcount/Hamming weight and ntz/lsb helpers to sift through:
|
I'm not yet sure which order has naturally better chunking:
The following ES7 shows that in both cases with a simple chunk search strategy and even with bignums, chunking near a power of 2 stays close above a power of 2 itself, and the following only shows the worst cases, not how often bad ones are encountered:
Next to try:
|
I have too little confidence that this improves over actual numeric computing. |
Create an alternative
ntop
(and associated entropy estimator) that can easily pull from arrays (not likea
) of2^x
,[21*23*25 /*< 2**53*/]
, etc.Note to self: see if any (odd-number double) factorial identities in https://arxiv.org/abs/0906.1317 could help; or see:
Other identities?
The text was updated successfully, but these errors were encountered: