Help deriving integer sequence formula

Click For Summary
SUMMARY

The discussion focuses on deriving an integer sequence formula related to the maximum number of partitions with specific properties, including equal minimum and maximum values, equal member counts, and equal sums. The user provided an example with minimum value 1, maximum value 6, count 4, and sum 14, resulting in two valid partitions: {1,3,4,6} and {1,2,5,6}. A brute force algorithm was used to generate maximums for widths up to 24, but it failed at width 25 due to excessive memory requirements. The user suggests a potential relationship between the derived sequence and the Fibonacci and Lucas series, and seeks assistance in identifying a formula using Mathematica 7.

PREREQUISITES
  • Understanding of integer partitions
  • Familiarity with brute force algorithms
  • Knowledge of Fibonacci and Lucas series
  • Experience with Mathematica 7 for sequence analysis
NEXT STEPS
  • Research integer partition theory and its applications
  • Learn about optimizing brute force algorithms for combinatorial problems
  • Study the mathematical properties of Fibonacci and Lucas series
  • Explore Mathematica 7's capabilities for sequence calculations and pattern recognition
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in combinatorial mathematics or algorithm optimization will benefit from this discussion.

ktoz
Messages
170
Reaction score
12
Hi

I'm playing around with partitions and have come up with an integer sequence representing the maximum number of partitions of various "widths" that display the following properties:

- min values in partition are equal
- max values in partition are equal
- partitions contain equal number of members
- sum of members is equal

For example, given:

min = 1
max = 6
count = 4
sum = 14

There are only two partitions that satisfy the constraints

{1,3,4,6}
{1,2,5,6}

Using a brute force algorithm, I came up with the following maximums for width = {1, 2, 3, 4 ..., 24}

1, 1, 1, 1, 1, 2, 2, 3, 5, 8, 12, 20, 32, 58, 94, 169, 289, 526, 910, 1667, 2934, 5448, 9686, 18084

My algorithm breaks at 25 due to the huge memory trequirements needed to sample every possible combination. I plugged it into http://www.research.att.com/~njas/sequences/" , but no luck.

With a little tweaking, the series seems like it might have some sort of partial relationship with the Fibonacci and Lucas series, but I haven't been able to come up with anything concrete.

Code:
1, 1, 1, 1, 1, 2, 2, 3, 5, 8, 12, 20, 32, 58, 94, 169, 289, 526, 910
 ,  ,  ,  ,  ,  , 1, 2, 3, 5, 8,  13, 21, 34, 55,  89, 144, 233, 377 	(fib)
 --------------------------------------------------------------------
		  1, 1, 2, 3, 4,  7,  11, 24, 39,  86, 145, 293, 533	(partial lucas)
Anyone see the pattern? Or perhaps someone with Mathematica 7 could plug the series into the series calculator and come up with the formula?

Thanks for any help
 
Last edited by a moderator:
Physics news on Phys.org
ktoz said:
Hi

I'm playing around with partitions and have come up with an integer sequence representing the maximum number of partitions of various "widths" that display the following properties:

- min values in partition are equal
- max values in partition are equal
- partitions contain equal number of members
- sum of members is equal

For example, given:

min = 1
max = 6
count = 4
sum = 14

There are only two partitions that satisfy the constraints

{1,3,4,6}
{1,2,5,6}

Using a brute force algorithm, I came up with the following maximums for width = {1, 2, 3, 4 ..., 24}

1, 1, 1, 1, 1, 2, 2, 3, 5, 8, 12, 20, 32, 58, 94, 169, 289, 526, 910, 1667, 2934, 5448, 9686, 18084

My algorithm breaks at 25 due to the huge memory trequirements needed to sample every possible combination. I plugged it into http://www.research.att.com/~njas/sequences/" , but no luck.

With a little tweaking, the series seems like it might have some sort of partial relationship with the Fibonacci and Lucas series, but I haven't been able to come up with anything concrete.

Code:
1, 1, 1, 1, 1, 2, 2, 3, 5, 8, 12, 20, 32, 58, 94, 169, 289, 526, 910
 ,  ,  ,  ,  ,  , 1, 2, 3, 5, 8,  13, 21, 34, 55,  89, 144, 233, 377 	(fib)
 --------------------------------------------------------------------
		  1, 1, 2, 3, 4,  7,  11, 24, 39,  86, 145, 293, 533	(partial lucas)
Anyone see the pattern? Or perhaps someone with Mathematica 7 could plug the series into the series calculator and come up with the formula?

Thanks for any help

Could you define "width"? You give 4 variables for widths but you give a sequence for widths = [1,2,3,...} so I don't understand what you mean.
 
Last edited by a moderator:

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K