« R: Free, Popular, Powerful, Flexible and Supported | Main | Seven quick facts about R »

April 01, 2014

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Very nice. Thanks!

BTW, If you plot just

plot(table(Reduce(c, res[1:i])), main = sprintf("collatz(1:10^%s)", i))

instead of the density, you get a better sense of the distribution: namely, a fractal
"comb" or "ruler" pattern.

The comments to this entry are closed.


R for the Enterprise

Got comments or suggestions for the blog editor?
Email David Smith.
Follow revodavid on Twitter Follow David on Twitter: @revodavid

Search Revolutions Blog