This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, draghuram, mark.dickinson, rhettinger, stutzbach
Date 2010-05-14.03:54:42
SpamBayes Score 0.18105909
Marked as misclassified No
Message-id <1273809284.57.0.92236326713.issue8692@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, my!

How did that last term get into precomputed list?!

It should have been 

precomputed[] = {3, 15, 5, 35, 315, 63, 693, 9009, 1287, 19305, 328185, 36465, 692835,
                 14549535, 1322685, 30421755, 760543875, 58503375, 1579591125ul};

The next term is 36 bit
>>> product(i<<1|1 for i in range(7,15))
45808142625
>>> _.bit_length()
36

I'll replace the patch.
History
Date User Action Args
2010-05-14 03:54:44belopolskysetrecipients: + belopolsky, rhettinger, mark.dickinson, draghuram, stutzbach
2010-05-14 03:54:44belopolskysetmessageid: <1273809284.57.0.92236326713.issue8692@psf.upfronthosting.co.za>
2010-05-14 03:54:42belopolskylinkissue8692 messages
2010-05-14 03:54:42belopolskycreate