Apostolico, A., and D. Breslauer. “An Optimal O(log Log N) Time Parallel Algorithm for Detecting All Squares in a String”. BRICS Report Series, vol. 2, no. 11, Jan. 1995, doi:10.7146/brics.v2i11.19514.