Fergal Smith sequence