Diabolic sequence