One of the most well known parallel algorithms for the solution of recurrence equations is the one proposed by Kogge and Stone (it can be found here). They proved that all recurrence equations of the form:


can be solved if the following restrictions are satisfied:
1) $f$ is associative, $f(x,f(y,z))=f(f(x,y),z)$
2) $g$ distributes over $f$, $g(x,f(y,z))=f(g(x,y),g(x,z))$
3) $g$ is semiassociative, that is, there exists some function $h$ such that $g(x,g(y,z))=g(h(x,y),z)$.

Question: Are there any other general algorithms that can solve some class of recurrence equations in parallel?

  • $\begingroup$ link is not available? but if it's an if and only if theory there is no other way and I think it should be if and only if. $\endgroup$
    – Saeed
    Jan 30, 2011 at 13:31
  • 1
    $\begingroup$ link fixed. Tomek, can you explain what is 'efficiently parallel' here ? $\endgroup$ Jan 30, 2011 at 13:58
  • 1
    $\begingroup$ @Tomek: yes. Parallel Algorithms for Knapsack Type Problems by Aleksandrov is one book that deals with this. $\endgroup$ Jan 30, 2011 at 15:50
  • $\begingroup$ @Suresh: I think that the word 'efficiently' in this context means that it is the fastest possible algorithm. Since this problem involves summing n numbers in parallel it can't be done faster than $O(logn)$ using $O(n)$ processors and that is the complexity of this algorithm. $\endgroup$ Jan 31, 2011 at 9:39
  • 1
    $\begingroup$ @Aaron, make the comment an answer ? $\endgroup$ Jan 31, 2011 at 17:01

1 Answer 1


For linear recurrences, you may find interesting this recent work:

Adrian Nistor, Wei-Ngan Chin, Tiow-Seng Tan, and Nicolae Tapus. 2009. Optimizing the parallel computation of linear recurrences using compact matrix representations. J. Parallel Distrib. Comput. 69, 4 (April 2009), 373-381. DOI=10.1016/j.jpdc.2009.01.004 http://dx.doi.org/10.1016/j.jpdc.2009.01.004

A discussion of the parallel complexity of solving recurrences is available in

Oscar H. Ibarra and Nicholas Q. Tr\ân. 1994. On the Parallel Complexity of Solving Recurrence Equations. In Proceedings of the 5th International Symposium on Algorithms and Computation (ISAAC '94), Ding-Zhu Du and Xiang-Sun Zhang (Eds.). Springer-Verlag, London, UK, 469-477.

Hope this helps.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.