hexagonal numbers pattern rule