Friday 18 December 2009

Started using twitter feed

I've just started using twitter feed.

It is supposed to automatically tweet using my blog post's title in the associated twitter account.

I had already connected my twitter account to my facebook status.
So from now on, when I write a blog post, there will be an automatically generated tweet for the post, and a facebook status update.

Guess what? Facebook offers an application to update your twitter as well! What if I set both? Do they check for "circular automated updating"? Does such a thing exist?

Look all the power I have. I can push the entire internet in an infinite loop!

Collatz conjecture

Collatz sequence, if nothing else, is an interesting thing.

The clever German mathematician, Collatz, all of a sudden thought that any positive integer number, would create a sequence ending with 1 (or alternatively entering the 4-2-1-4 loop) when the following partial function is applied to it.

collatzSequence x
    | x <= 1 = [1]
    | even x = x : collatzSequence (div x 2)
    | odd  x = x : collatzSequence (3*x+1)

[ This is valid Haskell code by the way ]


And Collatz was right, most probably. That's not for sure since no proof for it exists, but using quite a lot of computing power a counter-example couldn't be found. So the question of whether Collatz was right or not stands as an open problem.


I, humbly, did some experiments and tried to have an idea looking at the lengths of such sequences. In addition to the analysis of lengths I had also tried to plot the sequences and investigate where sequences for consequent numbers catch up.
It was at least 3 (or 4?) years ago. And now that I present a more scientific profile, I thought I might come up with some more clever points. Initial results are *NOT* promising, but I'll keep on thinking.