Aug
20
2011
wrathematics
I was hoping to begin tinkering a bit with the multicore package in R beyond some extremely trivial examples. Thanks to a combination of R's dumb quirkiness (for example, being worthless on loops), my poor planning, and general bad programming, my Saturday afternoon tinkering project is ultimately worthless in fulfilling that purpose.
I was really hoping to take the prime searcher I had been using
Read more >>
1 comment | tags: Math, Primes, R | posted in R
Aug
17
2011
wrathematics
So today I was making some rice, and I decided based on calorie load that I wanted more than 1/3 cup of rice, but less than 1/2. I decided that 5/12 cup was acceptable, but my only tools were a 1/4 cup scoop and a 1/3 cup scoop.
I didn't have to think very hard about this; I instantly knew it was possible to get 5/12 cup of rice with these tools, because 4 and 3 are relatively prime--i.e., they
Read more >>
no comments | tags: Math, Number Theory | posted in Math