Farey sequence



Hi,

Almost every function gives different output :

list of ordered pairs [n,d]
list of ordered rational numbers
set of ordered rational numbers

Does it influence the time of execution ?

Adam


> 
> 
> Farey(n) 	Evaluation took 1.3600 seconds (1.3600 elapsed)
> F(n)		Evaluation took 0.0600 seconds (0.0600 elapsed)
> fc(n) 		Evaluation took 0.3400 seconds (0.3400 elapsed)
> fc2(n)		Evaluation took 0.0300 seconds (0.0300 elapsed)
> fc3(n)		Evaluation took 0.0500 seconds (0.0500 elapsed)
> ff(n)		Evaluation took 0.0600 seconds (0.0600 elapsed)
> ff2(n)		Evaluation took 0.0400 seconds (0.0400 elapsed)
> h(n)		Evaluation took 0.0600 seconds (0.0600 elapsed)
> 
> 
> I do not know how to compare Lisp functions.
> 
> Also please look at :
> www.math.harvard.edu/~corina/publications/farey.pdf
> 
> 
> Adam