The maximal and minimal 2-correlation of a class of 1-dependent 0–1 valued processes