Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 4 years ago

klaaa gravatar image

Finding certain partitions using Sage.

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where d1 if nd1=ni=11pi.

Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d1? Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes the problem complicated to obtain a program that is quick.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are 18 2-admissible partitions.

Finding certain partitions using Sage.

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where $d \geq 1$ 1$) if nd1=ni=11pi.

Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d1? Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes the problem complicated to obtain a program that is quick.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are 18 2-admissible partitions.

Finding certain partitions using Sage.

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where d1) if nd1=ni=11pi.

Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes the problem complicated to obtain a program that is quick.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are 18 2-admissible partitions.

Finding certain partitions using Sage.

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where d1) if nd1=ni=11pi.

Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes the problem it very complicated to obtain a program that is quick.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are 18 2-admissible partitions.

Finding certain partitions using Sage.

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where d1) if nd1=ni=11pi.

Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes it very complicated to obtain a program that is quick.quick and works for large d.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are 18 2-admissible partitions.

Finding certain partitions using Sage.

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where d1) if nd1=ni=11pi.

Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes it very complicated to obtain a program that is quick and works for large d.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are 18 eighteen 2-admissible partitions.

Finding certain partitions using Sage.

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where d1) if nd1=ni=11pi.

Is there a quick way to filter all paritions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes it very complicated to obtain a program that is quick and works for large d.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are eighteen 2-admissible partitions.

Finding certain partitions using Sage.Sage

A partition [p1,p2,...,pn] with 2p1p2...pn and n1 is called d-admissible (where d1) if nd1=ni=11pi.

Is there a quick way to filter all paritions partitions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes it very complicated to obtain a program that is quick and works for large d.d.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are eighteen 2-admissible partitions.

Finding certain partitions using Sage

Context

Consider an integer n1.

A partition [p1,p2,...,pn] with $2 \leq p_1 \leq of n is a list p=[p1,p2,...,pk] of positive integers (called the parts) whose sum is n.

The list is considered sorted in nondecreasing order: $p_1 \le p_2 \leq \le ... \leq p_nandn \geq 1$ \le p_k$.

Consider an integer d1. The partition p is called d-admissible (where d1) if nd1=ni=11pi.

all parts are at least 2 and their inverses sum to nd1.

In formulas: 2p1 and nd1=ki=11pi.

Question

Is there a quick way to filter all partitions using Sage Sage to find all d-admissible partitions for a fixed $d \geq \ge 1$?

Note that the assumptions imply $n \leq 2(d+1)$ \le 2(d+1)$ but the individual terms pi might get quite large large (for d=2 the largest is already 42), which makes it it very complicated to obtain a program that is quick quick and works for large d.

For example for d=1 there are four 1-admissible partitions, partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. [2,3,6]. For d=2 there are eighteen 2-admissible partitions.

Finding certain partitions using Sage

Context

Consider an integer n1.

A partition of n is a list p=[p1,p2,...,pk] of positive integers (called the parts) whose sum is n.

The list is considered sorted in nondecreasing order: p1p2...pk.

Consider an integer d1. The partition p is called d-admissible if all parts are at least 2 and their inverses sum to nd1.

In formulas: 2p1 and $n - d - 1 = \sum \limits_{i=1}^{k} \limits_{i=1}^{n} {\frac{1}{p_i}}$.

Question

Is there a quick way to filter all partitions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes it very complicated to obtain a program that is quick and works for large d.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are eighteen 2-admissible partitions.

Finding certain partitions using Sage

Context

Consider an integer n1.

A partition of n is a is a nonempty list $p = [p_1, p_2, ..., p_k]$ p_n]$ of positive integers (called the parts) whose sum is n.parts), of length n1.

The list is considered sorted in nondecreasing order: $p_1 \le p_2 \le ... \le p_k$.p_n$.

Consider an integer d1. The partition p is called d-admissible if all parts are each part pi is at least 2 and their inverses of the parts sum to nd1.

In formulas: 2p1 and nd1=ni=11pi.

Question

Is there a quick way to filter all partitions using Sage to find all d-admissible partitions for a fixed d1?

Note that the assumptions imply n2(d+1) but the individual terms pi might get quite large (for d=2 the largest is already 42), which makes it very complicated to obtain a program that is quick and works for large d.

For example for d=1 there are four 1-admissible partitions, namely: [2,2,2,2], [3,3,3] ,[2,4,4] and [2,3,6]. For d=2 there are eighteen 2-admissible partitions.