Pred n index formula pls explain

pred n index formula pls explain