Log in

No account? Create an account
Lindsey Kuper [entries|archive|friends|userinfo]
Lindsey Kuper

[ website | composition.al ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Fired. Again. [Jun. 9th, 2008|10:20 pm]
Lindsey Kuper

SICP: Does it take longer to test a large number for primality than it does to test a small number for primality?
Lindsey: *totally interprets question as "Does it take longer to test many numbers for primality than it does to test few numbers for primality?"*
Lindsey: *writes code*
Lindsey: Surprise! It turns out: yes!
SICP: *cough*
Lindsey: ...oh.

(Later: okay, I guess I'm un-fired.)


[User Picture]From: pmb
2008-06-10 06:53 pm (UTC)
I got nerdsniped recently with the following problem: http://mrsmalkav.livejournal.com/660861.html

My second comment (a reply to my first) contains the answer, so if you want to do it yourself, be careful of the comments.
(Reply) (Thread)
[User Picture]From: lindseykuper
2008-06-11 03:21 am (UTC)
Ooh, interesti--

*looks around for large trucks*
(Reply) (Parent) (Thread)