Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #330989 > unrolled thread

permutations of sums of even numbers

Started byJamie M <jmorken@shaw.ca>
First post2016-03-31 01:07 -0700
Last post2016-03-31 01:32 -0700
Articles 3 — 2 participants

Back to article view | Back to sci.math


Contents

  permutations of sums of even numbers Jamie M <jmorken@shaw.ca> - 2016-03-31 01:07 -0700
    Re: permutations of sums of even numbers Robin Chapman <R.J.Chapman@exeter.ac.uk> - 2016-03-31 09:18 +0100
      Re: permutations of sums of even numbers Jamie M <jmorken@shaw.ca> - 2016-03-31 01:32 -0700

#330989 — permutations of sums of even numbers

FromJamie M <jmorken@shaw.ca>
Date2016-03-31 01:07 -0700
Subjectpermutations of sums of even numbers
Message-ID<ndilsr$bsp$1@gioia.aioe.org>
Hi,

how many permutations are there for the sum to even number n using even
natural numbers up to n?

Some examples below, I couldn't figure out the formula..


gap 2
sum1 2

gap 4
sum1 2+2
sum2 4

gap 6
sum1 2+2+2
sum2 2+4
sum3 6

gap 8
sum1 2+2+2+2
sum2 2+2+4
sum3 2+6
sum4 4+4
sum5 8

gap 10
sum1 2+2+2+2+2
sum2 2+2+2+4
sum3 2+2+6
sum4 2+8
sum5 4+6
sum6 4+4+2
sum7 10

gap 12
sum1 2+2+2+2+2+2
sum2 2+2+2+2+4
sum3 2+2+2+6
sum4 2+2+8
sum5 2+10
sum6 4+4+4
sum7 4+6+2
sum8 4+8
sum9 6+6
sum10 10+2
sum11 12

gap 14
sum1 2+2+2+2+2+2+2
sum2 2+2+2+2+2+4
sum3 2+2+2+2+6
sum4 2+2+2+8
sum5 2+2+10
sum6 2+12
sum7 4+4+4+2
sum8 4+4+6
sum9 4+8+2
sum10 4+10
sum11 6+6+2
sum12 6+8
sum13 14

gap 16
sum1 2+2+2+2+2+2+2+2
sum2 2+2+2+2+2+2+4
sum3 2+2+2+2+2+6
sum4 2+2+2+2+8
sum5 2+2+2+10
sum6 2+2+12
sum7 2+14
sum8 4+4+4+4
sum9 4+4+6+2
sum10 4+4+8
sum11 4+10+2
sum12 4+12
sum13 6+6+2+2
sum14 6+6+4
sum15 6+8+2
sum16 6+10
sum17 8+8
sum18 16

gap 18
sum1 2+2+2+2+2+2+2+2+2
sum2 2+2+2+2+2+2+2+4
sum3 2+2+2+2+2+2+6
sum4 2+2+2+2+2+8
sum5 2+2+2+2+10
sum6 2+2+2+12
sum7 2+2+14
sum8 2+16
sum9 4+4+4+4+2
sum10 4+4+4+6
sum11 4+4+8+2
sum12 4+4+10
sum13 4+6+8
sum14 4+8+2+2+2
sum15 6+6+6
sum16 6+6+4+2
sum17 6+6+2+2+2
sum18 8+8+2
sum19 10+2+2+2+2
sum20 10+2+6
sum21 10+8
sum22 10+2+2+4
sum23 12+2+2+2
sum24 12+2+4
sum25 12+6
sum26 14+2+2
sum27 14+4
sum28 18
(possibly missing some)


Two more questions I had to add onto the above:

1. how many permutations are there counting when the terms in the sums
can be reordered? ie 2+4 and 4+2 would be separate permutations in that
case.

2. same as last question but also considering 2+2 to be two separate
permutations, and 2+2+2 to be 6 permutations, taking into account the
reordering of the same numbers 2 etc..

cheers,
Jamie

[toc] | [next] | [standalone]


#330992

FromRobin Chapman <R.J.Chapman@exeter.ac.uk>
Date2016-03-31 09:18 +0100
Message-ID<ndimb6$fsb$1@dont-email.me>
In reply to#330989
On 31/03/2016 09:07 am, Jamie M wrote:
> Hi,
>
> how many permutations are there for the sum to even number n using even
> natural numbers up to n?

> gap 14
> sum1 2+2+2+2+2+2+2
> sum2 2+2+2+2+2+4
> sum3 2+2+2+2+6
> sum4 2+2+2+8
> sum5 2+2+10
> sum6 2+12
> sum7 4+4+4+2
> sum8 4+4+6
> sum9 4+8+2
> sum10 4+10
> sum11 6+6+2
> sum12 6+8
> sum13 14

how about 4+4+2+2+2 and 6+4+2+2?

You might like to look up partitions and compositions:

en.wikipedia.org/wiki/Partition_(number_theory)
en.wikipedia.org/wiki/Composition_(combinatorics)

[toc] | [prev] | [next] | [standalone]


#330993

FromJamie M <jmorken@shaw.ca>
Date2016-03-31 01:32 -0700
Message-ID<ndinam$dut$1@gioia.aioe.org>
In reply to#330992
On 3/31/2016 1:18 AM, Robin Chapman wrote:
> On 31/03/2016 09:07 am, Jamie M wrote:
>> Hi,
>>
>> how many permutations are there for the sum to even number n using even
>> natural numbers up to n?
>
>> gap 14
>> sum1 2+2+2+2+2+2+2
>> sum2 2+2+2+2+2+4
>> sum3 2+2+2+2+6
>> sum4 2+2+2+8
>> sum5 2+2+10
>> sum6 2+12
>> sum7 4+4+4+2
>> sum8 4+4+6
>> sum9 4+8+2
>> sum10 4+10
>> sum11 6+6+2
>> sum12 6+8
>> sum13 14
>
> how about 4+4+2+2+2 and 6+4+2+2?
>
> You might like to look up partitions and compositions:
>
> en.wikipedia.org/wiki/Partition_(number_theory)
> en.wikipedia.org/wiki/Composition_(combinatorics)
>

Thanks those are great links.

Also this one is interesting:

https://en.wikipedia.org/wiki/Multiplicative_partition

I came across this question when trying to count prime
gap occurrences, then I saw these wiki page talk about
prime numbers too, so I guess this stuff is related to
the prime numbers.

cheers,
Jamie

[toc] | [prev] | [standalone]


Back to top | Article view | sci.math


csiph-web