Sum of power of two exact 2010 different ways

  • Thread starter Thread starter Christian1992
  • Start date Start date
  • Tags Tags
    Power Sum
Click For Summary
SUMMARY

The discussion centers on determining all numbers that can be expressed in exactly 2010 different ways as a sum of powers of two, with the constraint that each exponent can appear a maximum of three times. Participants explore various combinations and methods to express numbers, particularly focusing on the number 2^4. The conversation reveals that there are nine valid combinations for 2^4, and a formula is suggested: f(n) = 1 + floor(n/2), indicating a relationship between the number of ways to express a number and its value.

PREREQUISITES
  • Understanding of powers of two and their properties
  • Familiarity with combinatorial mathematics
  • Knowledge of integer partitions and their constraints
  • Basic programming skills for implementing algorithms to calculate combinations
NEXT STEPS
  • Research combinatorial number theory, focusing on integer partitions
  • Explore the concept of generating functions in combinatorics
  • Learn about dynamic programming techniques for counting combinations
  • Investigate the application of the floor function in mathematical proofs
USEFUL FOR

Mathematicians, computer scientists, and students interested in combinatorial problems and number theory will benefit from this discussion.

Christian1992
Messages
2
Reaction score
0
Hello,

I look for a solution for the following problen.

Determine all numbers, which can be written in exact 2010 different ways as a sum of powers of two with non-negative exponent, while all exponents are only allowed to appear maximal three times in one sum.
(All sums where only the order of the summands is changed are count as one sum.)


My problem is that I do not have any idea, how to find a solution to this task.
Therefore I started to determine in how many different sums I can write for example 2^4:
1. 2^4
2. 2*2^3
3. 2*2^2+2^3
4. 2*2+2^2+2^3
5. 2*2^0+2+2^2+2^3
6. 2*2^0+3*2+2^3
7. 2*2^0+3*2+2*2^3

Nevertheless, I did not find any coherenz zu the number and the number of different sums.

Do you have any tips?

Christian
 
Physics news on Phys.org
No idea?
 
Christian1992 said:
Hello,

I look for a solution for the following problen.

Determine all numbers, which can be written in exact 2010 different ways as a sum of powers of two with non-negative exponent, while all exponents are only allowed to appear maximal three times in one sum.
(All sums where only the order of the summands is changed are count as one sum.)
I don't understand what you're asking. Is it that you want all numbers that can be written in exactly 2010 different ways?

Or is it that you want to find the number of ways that 2010 can be written as a sum of powers of 2?
Christian1992 said:
My problem is that I do not have any idea, how to find a solution to this task.
Therefore I started to determine in how many different sums I can write for example 2^4:
1. 2^4
2. 2*2^3
3. 2*2^2+2^3
4. 2*2+2^2+2^3
5. 2*2^0+2+2^2+2^3
6. 2*2^0+3*2+2^3
7. 2*2^0+3*2+2*2^3

Nevertheless, I did not find any coherenz zu the number and the number of different sums.

Do you have any tips?

Christian
 
Christian1992 said:
Hello,

I look for a solution for the following problen.

Determine all numbers, which can be written in exact 2010 different ways as a sum of powers of two with non-negative exponent, while all exponents are only allowed to appear maximal three times in one sum.
(All sums where only the order of the summands is changed are count as one sum.)


My problem is that I do not have any idea, how to find a solution to this task.
Therefore I started to determine in how many different sums I can write for example 2^4:
1. 2^4
2. 2*2^3
3. 2*2^2+2^3
4. 2*2+2^2+2^3
5. 2*2^0+2+2^2+2^3
6. 2*2^0+3*2+2^3
7. 2*2^0+3*2+2*2^3

Nevertheless, I did not find any coherenz zu the number and the number of different sums.

Do you have any tips?

Christian

Hi there!
I believe you quote the question from Columbus state university .

This is an easy question.
Assume there is four blocks since the two non zero integer are similar ,
we label one of the a and b. one with a selection of 3 integers another with 4.
For a>2.


Therefore the blocks of 4 integer will look like this:
a00b
a0b0
ab00

I'll leave the rest to you.
ans is thirty-_____ .
 
icystrike said:
Hi there!
I believe you quote the question from Columbus state university .

This is an easy question.
Assume there is four blocks since the two non zero integer are similar ,
we label one of the a and b. one with a selection of 3 integers another with 4.
For a>2.


Therefore the blocks of 4 integer will look like this:
a00b
a0b0
ab00

I'll leave the rest to you.
ans is thirty-_____ .

Huh? You're sure this is the answer to the right question?
 
Christian1992 said:
Hello,

I look for a solution for the following problen.

Determine all numbers, which can be written in exact 2010 different ways as a sum of powers of two with non-negative exponent, while all exponents are only allowed to appear maximal three times in one sum.
(All sums where only the order of the summands is changed are count as one sum.)


My problem is that I do not have any idea, how to find a solution to this task.
Therefore I started to determine in how many different sums I can write for example 2^4:
1. 2^4
2. 2*2^3
3. 2*2^2+2^3
4. 2*2+2^2+2^3
5. 2*2^0+2+2^2+2^3
6. 2*2^0+3*2+2^3
7. 2*2^0+3*2+2*2^3

Nevertheless, I did not find any coherenz zu the number and the number of different sums.

there are actually 9 ways to write 2^4

writing them in 'binary'

10000
2000
1200
1120
1112
1032
320 = 3*2^2 + 2 * 2^2
312 = 3*2^2 + 1 * 2^1 + 2*2^0
232 = 2*2^2 + 3 * 2^1 + 2*2^0

you missed the last 3 and your number 7 isn't valid.

It appears that if f(n) is the number of ways to write n, then f(n) = 1 + floor(n/2)

(floor(x) is the greatest integer <= x)

I haven't been able to prove this so far. It's easy to prove that f(2n+1) = f(2n) so you
only have to prove f(n) = 1+n/2 for even numbers.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
4K
Replies
17
Views
5K
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
13
Views
3K