[CentralOH] Bugs in euler-001-multiples-of-3-and-5-20160318

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Sat Mar 19 18:38:58 EDT 2016


On Sat, 19 Mar 2016 16:37:05 -0400, Eric Floehr <eric at intellovations.com> wrote:

> On Sat, Mar 19, 2016 at 4:27 PM, <jep200404 at columbus.rr.com> wrote:
> 
> > Someone started on Project Euler, starting with problem #1,
> > so that was played with much, reinventing the wheel:
> >
> > http://nbviewer.jupyter.org/url/colug.net/python/dojo/20160318/euler-001-multiples-of-3-and-5-20160318.ipynb
> > http://colug.net/python/dojo/20160318/euler-001-multiples-of-3-and-5-20160318.ipynb

> I noticed that [14], [16], and [24] don't return the correct answer
> (233168) which might be a reason they are unexpectedly faster. 

Thanks for catching that.

Cells 13 through 16 are irredeemably broken.
Cells 23 and 24 have been fixed in cells 25 and 26 below

    http://nbviewer.jupyter.org/url/colug.net/python/dojo/20160318/euler-001-multiples-of-3-and-5-20160319.ipynb
    http://colug.net/python/dojo/20160318/euler-001-multiples-of-3-and-5-20160319.ipynb


More information about the CentralOH mailing list