Category Archives: programming

NumPy Project Euler Problem 6

This entry is part 6 of 6 in the series NumPy Project Euler

Project Euler Problem 6 is perfect to demonstrate the power of NumPy. No loops are required and only a few lines of code.
1. Create an array with the first 100 natural numbers
First we will create a NumPy array of the [...]

Share
Posted in programming | Tagged , , , | Leave a comment

NumPy Project Euler Problem 5

This entry is part 5 of 6 in the series NumPy Project Euler

Project Euler Problem 5is one of those problems that seem hard, but turn out to be trivial after you think about them. In this case it is very important to use the information given to you in the problem. This [...]

Share
Posted in programming | Tagged , , | Leave a comment