Yet another weird SF fan


I'm a mathematician, a libertarian, and a science-fiction fan. Common sense? What's that?

Go to first entry


 

Archives

<< current
 
E-mail address:
jhertzli AT ix DOT netcom DOT com


My Earthlink/Netcom Site

My Tweets

My other blogs
Small Sample Watch
XBM Graphics


The Former Four Horsemen of the Ablogalypse:
Someone who used to be sane (formerly War)
Someone who used to be serious (formerly Plague)
Rally 'round the President (formerly Famine)
Dr. Yes (formerly Death)

Interesting weblogs:
Back Off Government!
Bad Science
Blogblivion
Boing Boing
Debunkers Discussion Forum
Deep Space Bombardment
Depleted Cranium
Dr. Boli’s Celebrated Magazine.
EconLog
Foreign Dispatches
Good Math, Bad Math
Greenie Watch
The Hand Of Munger
Howard Lovy's NanoBot
Hyscience
Liberty's Torch
The Long View
My sister's blog
Neo Warmonger
Next Big Future
Out of Step Jew
Overcoming Bias
The Passing Parade
Peter Watts Newscrawl
Physics Geek
Pictures of Math
Poor Medical Student
Prolifeguy's take
The Raving Theist
RealityCarnival
Respectful Insolence
Sedenion
Seriously Science
Shtetl-Optimized
Slate Star Codex
The Speculist
The Technoptimist
TJIC
Tools of Renewal
XBM Graphics
Zoe Brain

Other interesting web sites:
Aspies For Freedom
Crank Dot Net
Day By Day
Dihydrogen Monoxide - DHMO Homepage
Fourmilab
Jewish Pro-Life Foundation
Libertarians for Life
The Mad Revisionist
Piled Higher and Deeper
Science, Pseudoscience, and Irrationalism
Sustainability of Human Progress


























Yet another weird SF fan
 

Saturday, December 05, 2015

Collatz Statistics

I've been wondering about the statistics of the length of Collatz sequences so I wrote a program to print a chart of the distribution. (It's a Python program that produces a pbm file. You'll need netpbm to get something useful out of it.) Since the length of the Collatz sequence for \(2^n\) is \(n\), it makes sense to scale the lengths by dividing them by \(\log_2 n\). The results are as follows:

I didn't expect to see an interference pattern.

0 Comments:

Post a Comment

<< Home

 
Profiles
My Blogger Profile
eXTReMe Tracker X-treme Tracker

Site Meter
The Atom Feed This page is powered by Blogger.