hofstadter conway 0_000 seq in ruby