Parallel Algorithms for Counting and Randomly Generating Integer Partitions

This paper presents parallel algorithms for determining the number of partitions of a given integerN, where the partitions may be subject to restrictions, such as being composed of distinct parts, of a given number of parts, and/or of parts belonging to a specified set. We present a series of adapti...

Full description

Saved in:
Bibliographic Details
Published inJournal of parallel and distributed computing Vol. 34; no. 1; pp. 29 - 35
Main Authors Sanchis, Laura A., Squire, Matthew B.
Format Journal Article
LanguageEnglish
Published San Diego, CA Elsevier Inc 10.04.1996
Elsevier
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:This paper presents parallel algorithms for determining the number of partitions of a given integerN, where the partitions may be subject to restrictions, such as being composed of distinct parts, of a given number of parts, and/or of parts belonging to a specified set. We present a series of adaptive algorithms suitable for varying numbers of processors. The fastest of these algorithms computes the number of partitions ofnwith largest part equal tok, for 1 ≤k≤n≤N, in timeO(log2(N)) usingO(N2/logN) processors. Parallel logarithmic time algorithms that generate partitions uniformly at random, using these quantities, are also presented.
ISSN:0743-7315
1096-0848
DOI:10.1006/jpdc.1996.0043