Login

Welcome, Guest. Please login or register.

April 27, 2024, 08:34:50 pm

Author Topic: partition  (Read 1472 times)  Share 

0 Members and 1 Guest are viewing this topic.

/0

  • Victorian
  • ATAR Notes Legend
  • *******
  • Posts: 4124
  • Respect: +45
partition
« on: May 19, 2009, 11:52:26 am »
0
Find the number of ways in which 100 can be divided into a sum of 2s, 3s or 4s. :coolsmiley:

thanxxx

kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: partition
« Reply #1 on: May 19, 2009, 12:55:45 pm »
0
wow someone's in an inspired mood ;p

Solution:

So we want solutions to 3a+2b+4c=100.

Let's focus on the simple case when a=0. 100=50*2 hence there are 26 different ammounts of four that can fit here. (4*0,4*1...4*25)

when :

3a=100-2b-4c
3a=2(50-b-2c) hence a must by even.

Therefore the values are only between 1 and 16 inclusive. Let's analyse each case in a descending order:

let 100-3a=x

The possible x values are hence 4,4+6,4+6*2.... 4+6*16. Next to each we will write down how many four's fit there.

4 - 0 or 1- 2 four's
10 - 0,1,2 - 3 four's
16 - 0,1,2,3,4 - 5 four's
22 - 0,1,2,3,4,5 - 6 four's
28 - 0,1,2,3,4,5,6,7 - 8 four's
.
.
.

You can see that the pattern is that the difference between consecutive count's of four is such: first is we jump by 1, then by 2, then by 1.. then by 2 again etc. (this can be easily proven, but i will skip it as my post is long enough, ill explain in a later post)

hence the total sum is:




So it is the sum of two arithmetic sequences, now all we need is the last term:

because ranges from 1 to 16. there are 16 terms alltogether and hence 8 terms in each sum. So the sum is:




Basically add that sum to 26 (the thing we found when a=0)


edit: 200 posts :D:D
« Last Edit: May 19, 2009, 02:53:16 pm by kamil9876 »
Voltaire: "There is an astonishing imagination even in the science of mathematics ... We repeat, there is far more imagination in the head of Archimedes than in that of Homer."

/0

  • Victorian
  • ATAR Notes Legend
  • *******
  • Posts: 4124
  • Respect: +45
Re: partition
« Reply #2 on: May 19, 2009, 05:39:32 pm »
0
very nice solution kamil :D

it seems like you're always in an inspired mood

kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: partition
« Reply #3 on: May 19, 2009, 05:40:27 pm »
0
bahaha i was referring to you since you've been making some interesting posts today :P

Btw here is a problem whose solution required some inspiration:

Given a set of any 2009 integers, prove that there (always) exists at least one subset which will sum up to a multiple of 2009.

For example: the set of the first 2009 prime numbers, i.e.
{2, 3, 5, 7, ... , 17467, 17471}

has the subset {5, 4013} which sums to 4018 = 2 * 2009.

Sauce: melbourne uni maths society(MUMS)
Voltaire: "There is an astonishing imagination even in the science of mathematics ... We repeat, there is far more imagination in the head of Archimedes than in that of Homer."

/0

  • Victorian
  • ATAR Notes Legend
  • *******
  • Posts: 4124
  • Respect: +45
Re: partition
« Reply #4 on: May 21, 2009, 11:24:51 am »
0
aaah i know it has something to do with the pigeonhole principle but i don't know how to apply it lol

kamil9876

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1943
  • Respect: +109
Re: partition
« Reply #5 on: May 21, 2009, 08:12:54 pm »
0
whoa where did that insight come from? :P
Voltaire: "There is an astonishing imagination even in the science of mathematics ... We repeat, there is far more imagination in the head of Archimedes than in that of Homer."