Category Archives: Math

First Place at Project Euler

Project Euler hosts a growing collection of math programming problems that I started participating in earlier this year while it was on the mathschallenge.net web site. Typically, you have to write a program to solve a math problem and then … Continue reading

Posted in Code, Math | 5 Comments

Cuban Primes Correction

If you look up any math term in Google, you likely get front page links to articles at Wikipedia and MathWorld. Both are usually very good, with the latter being more formal but having a Mathematica slant. (MathWorld is hosted … Continue reading

Posted in Math | Leave a comment

Fermat’s Last Theorem Meets Sine And Cosine

Fermat’s Last Theorem may have already been proved, but the proof is so dense amateurs like myself still foolishly search for a simple proof. My latest foray was centered around a trigonometric mappings. That is, start with an + bn … Continue reading

Posted in Math | 3 Comments

Math Challenges Done

I finished the last of the mathschallenge.net math programming problems. Actually, it’s a temporary milestone since new problems are added every few weeks. At right is a graph of problems started per day with a LOESS smoother applied. The data … Continue reading

Posted in Code, Graphs, Java, Math, Uncategorized | 2 Comments

Addictive Maths Challenges

For the past few weeks, I’ve been addicted to the math programming problems at mathschallenge.net. You have to answer a math question that usually requires writing a little program to solve, such as “What is the sum of the digits … Continue reading

Posted in Code, Math | Leave a comment

Better Buddy System

I recently saw a Simpsons episode where Bart and Lisa go on a field trip. The teacher pairs up students to use the buddy system to make sure know one gets left behind. Bart and Lisa are buddies and they … Continue reading

Posted in Math | 3 Comments

Factoring Realized

I found an GNU library for fast multi-precision arithmetic called gmp and decided to try my graphically inspired factoring algorithm. I’m pretty sure it’s just an inefficient version of Lehman’s Method, which is only an improvement over Fermat’s Method. And … Continue reading

Posted in Code, Math | Leave a comment