Possible Duplicate:
are there any O(1/n) algorithms?
I've been reading up on various algorithms recently, and have gotten very used to seeing things with O([some combination of n, n^2 and log n). It seems pretty normal for algorithms to increase in running time with more input, so this doesn't really bother me, but are there many well-known algorithms that decrease in running time with increased input? Or are there other algorithms with something like, say, periodic running time based off of input length?