Count the ordered index pairs (i, j) of an array where a[i] − a[j] equals i − j. Too many requests from your network. Please wait a minute.