partitiontable.m

Given a nonnegative integer n, compute a table of the unrestricted partition function p(m) for m<=n.

Vous suivez désormais cette soumission

Given a nonnegative integer n, compute a table of the unrestricted partition function p(m) for m<=n. This program uses a recurrence involving pentagonal numbers, which makes it necessary to compute p(m) for all m<=n in order to compute p(n). Thus, we get the table for free with this computation.

Citation pour cette source

David Terr (2026). partitiontable.m (https://fr.mathworks.com/matlabcentral/fileexchange/5154-partitiontable-m), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : Partitions of an integer

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0