May
1
2012
wrathematics
I probably won't do any more of these, and I hadn't really planned on even doing this one, but I've been inspired. Apparently some Russians found my first post about doing Project Euler problems in LaTeX. According to google translate, my post was described as being part of "the horrors of our Internet" that our comrade stumbled on inadvertently through searching for something completely unrelated.
Read more >>
no comments | tags: fibonacci numbers, LaTeX, Project Euler | posted in LaTeX, Project Euler Solutions
Apr
23
2012
wrathematics
I've been joking for a while now that I was going to start solving project euler problems in LaTeX. Then today I finally did one. So let's talk about solving Project Euler problem number 1 (the easy one) using only LaTeX.
The problem asks you to sum up all the positive integers below 1000 which are divisible by 3 or 5 (or both). Doing this in R is easy. You could efficiently do
which
Read more >>
no comments | tags: LaTeX, Project Euler, R | posted in LaTeX, Project Euler Solutions, R