About Me

Recent Posts
Tags
Feeds

Identi.ca / Twitter
 No public messages.
Tag Archives: factor
ToAndFro in Factor and Common Lisp
Taking a look at SPOJ online judge, I reached ToAndFro problem and thought how easy it was to solve it in Factor. The problem states the following: Mo and Larry have devised a way of encrypting messages. They first decide … Continue reading
Facebook’s Double Squares in Factor
Facebook has recently launched a puzzle programming contest (aka Facebook Hacker Cup). Since I always liked puzzles (I had already solved some of these puzzles I may talk about them in another post), I decided to give it a try. … Continue reading
Counting primes in Factor
Last week Programming Praxis proposed to write two functions: primecounting(n) function, that returns the number of primes to n nthprime(n) function, that returns the nth prime number A day before Samuel Tardieu wrote an article about Positional factoring which included information about the math.primes … Continue reading