Browse by Tags

All Tags » Math (RSS)

Which is the ten thousand first prime?

Prime numbers have a good deal of practical applications (for example in cryptography) but let's face it, even if they would have none, they would still be the favorite toy of mathematicians . In Problem 7 of Project Euler , we are asked to find the 10001st...

Recursive lambdas and sequence aggregations

The fifth problem at Project Euler proposes this nostalgic primary school exercise: find the smallest quantity that is evenly divisible by some numbers, the least common multiple of 1, 2, 3, ..., 20 to be precise. To begin with, let's remember the old...

Finding the largest prime factor of a number

This is another classic problem at Project Euler that can be solved with the old trick of top down programming, like so: PrimeFactors(number).DefaultIfEmpty(number).Max(); It's a nice solution, supposing PrimeFactors() actually returns all prime factors...

Word 2007 and Microsoft Math

Reading Alfred Thompson blog , who focus on computer science teaching at K-12 schools (what we call in Ecuador basic high school), I found this nice entry : Microsoft released a few days ago the Word 2007 Math Add-in . After installing and playing with...
Posted by Edgar Sánchez | 3 comment(s)
Filed under: ,
More Posts