Closed thundergnat closed 5 years ago
However I've put in a hard coded list which will allow up to 2**173526 terms before it fails. Yeah, it's not infinite
That's long enough. It's totally fine.
Sigh. I think I may need to stop for a while, I'm starting to make (even more) stupid errors.
Thanks!
Actually, A000688
is wrong.
expected: '1 1 1 2 1 1 1 3 2 1 1 2 1 1 1 5 1 2 1 2 1 1 1 3 2 1 3 2 1 1 1 7 1 1 1 4 1 1 1 3 1 1 1 2 2 1 1 5 2 2 1 2 1 3 1 3 1 1 1 2 1 1 2 11 1 1 1 2 1 1 1 6 1 1 2 2 1 1 1 5 5 1 1 2 1 1 1 3 1 2 1 2 1 1 1 7 1 2 2 4 1 1 1 3 1 1 1'
got: '1 1 1 2 1 1 1 3 2 1 1 2 1 1 1 5 1 2 1 2 1 1 1 3 2 1 3 2 1 1 1 7 1 1 1 2 1 1 1 3 1 1 1 2 2 1 1 5 2 2 1 2 1 3 1 3 1 1 1 2 1 1 2 11 1 1 1 2 1 1 1 3 1 1 2 2 1 1 1 5 5 1 1 2 1 1 1 3 1 2 1 2 1 1 1 7 1 2 2 2 1 1 1 3 1 1 1'
I'm of two minds about this. It nominally relies on A000041 which is not yet implemented. However I've put in a hard coded list which will allow up to 2**173526 terms before it fails. Yeah, it's not infinite, but it's probably good enough for all but the most extreme use.
Resolves #94