Cody

John D'Errico

286
Rank
6
Badges
1360
Score
E-mail
Company/University Retired
Personal Profile

Mainly retired from Eastman Kodak. (Of course, Kodak itself is now semi-retired. I don't think I had any influence in that.) I still write MATLAB code as I find something interesting, and I do attempt to write new tools to put on the File Exchange when I think I can make a contribution.

However, I DON'T answer direct e-mail questions, and I do NOT do homework. In general, your homework is YOUR problem, not mine. Please do NOT e-mail me with your homework problems or student projects. If I was willing to answer your questions, I would very rapidly become overwhelmed, because one question is never just one simple question.

When I'm not doing something with MATLAB, you might find me playing bridge, either in the club or online on BBO.

Professional Interests: MATLAB, numerical analysis, mathematical modeling

Avocational interests: Bridge, woodworking, woodturning

Professional Interests

Bridge, MATLAB, numerical analysis, mathematical modeling

Activities

1 – 50 of 207

John D'Errico submitted a Comment to Problem 42935. Sums of cubes and squares of sums

I did not originally look to see exactly how far one could go. It looks like, IF one is careful in the important expression, you should be able to get to 3329020. I'd expect that the code I'd write that would solve this to go as far as 3329020 would employ an initial test to know if n is even or odd, changing the expression I'd write depending on the parity of n. Of course that branch would also increase the complexity, so raising the Cody score.

on 29 Aug 2016 at 8:54

John D'Errico received Leader badge for Solution 944700

on 28 Aug 2016 at 21:47

John D'Errico received Speed Demon badge for Solution 944700

on 28 Aug 2016 at 21:47

John D'Errico submitted a Comment to Problem 240. Project Euler: Problem 6, Natural numbers, squares and sums.

A problem where one must be at least a little careful about floating point arithmetic. It might have been interesting if one of the test cases were x=1e5 or larger. Even more interesting if the execution time were a factor in the "score". These factors might impact how the problem would be best solved.

on 28 Aug 2016 at 20:17

John D'Errico submitted a Comment to Problem 625. Determine Whether an array is empty

Terrible test set.

on 28 Aug 2016 at 15:39

John D'Errico submitted Solution 944549 to Problem 163. Love triangles

on 28 Aug 2016 at 13:43

John D'Errico submitted Solution 944548 to Problem 163. Love triangles

on 28 Aug 2016 at 13:42

John D'Errico submitted Solution 944544 to Problem 72. Interpolator

on 28 Aug 2016 at 13:37

John D'Errico submitted Solution 944539 to Problem 1046. Add two numbers

on 28 Aug 2016 at 13:27

John D'Errico submitted Solution 944538 to Problem 2711. Assigning a sum

on 28 Aug 2016 at 13:26

John D'Errico submitted Solution 943789 to Problem 123. Tell me the slope

on 27 Aug 2016 at 1:24

John D'Errico submitted Solution 940873 to Problem 44. Trimming Spaces

on 23 Aug 2016 at 18:36

John D'Errico submitted Solution 940864 to Problem 28. Counting Money

on 23 Aug 2016 at 18:22

John D'Errico submitted Solution 940844 to Problem 1925. Smith numbers

on 23 Aug 2016 at 17:05

John D'Errico submitted Solution 940842 to Problem 1925. Smith numbers

on 23 Aug 2016 at 17:05

John D'Errico submitted Solution 940833 to Problem 48. Making change

on 23 Aug 2016 at 16:48

John D'Errico submitted Solution 940794 to Problem 46. Which doors are open?

on 23 Aug 2016 at 15:37

John D'Errico submitted Solution 940778 to Problem 76. De-dupe

on 23 Aug 2016 at 15:06

John D'Errico submitted Solution 940774 to Problem 74. Balanced number

on 23 Aug 2016 at 14:54

John D'Errico submitted Solution 940771 to Problem 35. Quote Doubler

on 23 Aug 2016 at 14:48

John D'Errico submitted a Comment to Problem 174. Roll the Dice!

The first test case for this problem is flat out statistically terrible! In fact, it is quite easy for that assertion to fail on a well defined set of uniform dice! So if you submitted a "valid" solution to this trivial problem, and it failed, then re-submit it. It may well succeed the second time you try, with no change to your function at all.

on 23 Aug 2016 at 14:34

John D'Errico submitted Solution 940763 to Problem 174. Roll the Dice!

on 23 Aug 2016 at 14:31

John D'Errico submitted Solution 940357 to Problem 18. Bullseye Matrix

on 22 Aug 2016 at 15:45

1 – 50 of 207