find value in sorted array where a[i] == i