“…, given a value of PA k in position i, the Φ function returns the preceding value of PA k in position i − 1. Analogously, we can define the inverse of Φ for all 16,1,10,11,17,9,12,13,14,19,20,2,3,4,18,5,6,7,8] and i = 3, we have that Φ 6 (4) = 3 and Φ −1 6 (3) = 18. Gagie et al in [20] showed that the Φ (or Φ −1 ) function for the BWT can be stored in O(r) words, and evaluated in O(log log w (n/r))-time, where w = Ω(log n).…”