Skip to content

This repository contains code to calculate values of p(a, b), that is, the number of partitions of Gaussian integers a + bi into parts u + vi so that u > 0 and v > 0.

License

Notifications You must be signed in to change notification settings

dakotablair/multipartitions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains code to calculate values of p(a, b), that is, the number of partitions of Gaussian integers a + bi into parts u + vi so that u > 0 and v > 0. This is listed as sequence A090806 in the Online Encyclopedia of Integer Sequences.

A table of values for 1 <= a <= 500 and 1 <= b <= 500 is also included as a csv for convenience if time or computational resources are scarce.

The notebook provides an introduction to the problem and uses pandas as a convenience, but it is not required for the calculations.

The multip module can also be run as a standalone script to calculate these values, printing the main diagonal (OEIS A108469).

This work is released under CC0. See LICENSE for more details.

The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.

About

This repository contains code to calculate values of p(a, b), that is, the number of partitions of Gaussian integers a + bi into parts u + vi so that u > 0 and v > 0.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published