Find Permutation 4661 of G={1,2,3,4,5,6,7} | Answer Here

This is not an easy problem - it's NP-complete - but there are some interesting questions around the distribution of those paths. In summary, the conversation was about finding a specific permutation (4661) of a set of elements (G = {1,2,3,4,5,6,7}). The speaker had searched for a formula online but could not find one, so they asked for help in finding a solution. Another participant suggested using an algorithm to generate the correct sequence, and the speaker shared their progress in finding the permutation. They also mentioned another permutation they were working on and offered to share their findings. The conversation ended with a discussion about exploring the ways the full permutation list can be generated.
  • #1
toli
5
0
Hi to everyone...

I would like to know which is the permutation 4661 of the elements G = {1,2,3,4,5,6,7}
I have search for the formula around the internet but I could not find it...
So I hope anyone can help about this solution.
Thank you...

and the result on the picture is like this as you can see, as I mention I can't find any formula that can figure this example...
 

Attachments

  • permutation.jpg
    permutation.jpg
    27.5 KB · Views: 444
Physics news on Phys.org
  • #2
You can think about it like this:
How many permutations will start with 7? What range of positions will they occupy?
Of those, how many will have 3 second?
etc.

You won't get a formula, as such, but there will be an algorithm or process for producing the correct sequence.
 
  • #3
Hello Joffan, I'll try to explain again a bit better because my English in math way isn't that good, so I'll try to explain as best as I can...
So 7! Factorial is equal to 5040 permutation in the list and that permutation is 7,6,5,4,3,2,1
but What I need is the permutation 4661 in the list of this numbers ?
And my work so far is like this :

Number one 1 appears to be 720 times in the first position it doesn't change 720 times!
1>>>> 1,2,3,4,5,6,7
2>>>> 1,2,3,4,5,7,6
3>>>> 1,2,3,4,6,5,7
4>>>> 1,2,3,4,6,7,5
5>>>> 1,2,3,4,7,5,6
6>>>> 1,2,3,4,7,6,5
7>>>> 1,2,3,5,4,6,7
8>>>> 1,2,3,5,4,7,6
9>>>> 1,2,3,5,6,4,7
10>>>>1,2,3,5,6,7,4
*
*
*
720>>>> 1,7,6,5,4,3,2
In the row 121, and here is where it changes and where number 2 gets in the first position for along next 720 times which is equal to 1440... How ?

721>>>> 2,1,3,4,5,6,7
722>>>> 2,1,3,4,5,7,6
723>>>> 2,1,3,4,6,5,7
724>>>> 2,1,3,4,6,7,5
*
*
*
1440>>>> 2,7,6,5,4,3,1
And I have gather this numbers for (1)720, for 2(720), for 3(720), for 4(720), for 5(720)and for 6(720) ====>> 720+720+720+720+720+720 = 4320, and the permutation of 4320 is >>>>> 6,7,5,4,3,2,1... I didn't include number 7 in here because automatically we get 5040 permutation's which 7,6,5,4,3,2,1.
So what I need, is to find 4661 permutation on the list ?

So I hope I have explain in the good way...
and I hope you can help me with this example...ASAP
Thank you
 
  • #4
I understood the problem - I just wanted you to be involved in the exploration of the problem.

Ok, so you get that the first member changes on blocks of 720 (=6!). In the same way, the second member changes on blocks of 5!, the third on blocks of 4!, 3!, 2!, 1! and 0! (=1, conventionally).

So we want to look at which batch of 720 we're in, then within that which batch of 120, then which batch of 24, etc.

Thinking about that first choice carefully, it's almost like 1+floor(N/720), but that just misses on the boundary - N=720 should actually gives us a 1 for first postion. And the same applies at every batch boundary, so we should should assess N-1 in place of N.

We can actually do this more conveniently from the other end... which batch of 1 are we in (trivial), then which batch of 1 within two, then which batch of 2 within 6, then which batch of 6 within 24, etc.

Then we get to the administrative business of not picking the same value twice - but that's not too hard either.
 
  • #5
Joffan thank you for help, I guess I solved out your way, this permutation but I have another one so i'll publish this as soon as possible so the other can understand how it works...
 
  • #6
Solved !
I guess this example will help you to find your permutation...
Thank you.
 

Attachments

  • Solved_Permutation1.jpg
    Solved_Permutation1.jpg
    53.4 KB · Views: 421
  • #7
Good work, nicely laid out.

If you want to waste a few days, try investigating the ways that the full permutation list can be generated by swapping one pair of adjacent elements between successive entries. :-)
 
  • #8
Hi Joffan, I am sorry for late reply but I was a kind a busy working and studying but I think I know what you want me to do and I will do it... I wish you wonderful day and a best of luck :D
 
  • #9
If you're busy, toli, please don't bother - it was only a suggestion for something else to explore in this general field.

Mapping the permutations which differ by swapping one adjacent pair produces a graph - a 6-regular graph in this case - and the question becomes one of finding a Hamiltonian path through that graph.
 

1. How do I find the permutation 4661 of G={1,2,3,4,5,6,7}?

To find the permutation 4661 of G={1,2,3,4,5,6,7}, you can use the formula n!/(n-r)! where n is the total number of elements in G and r is the number of elements in the specific permutation. So in this case, n=7 and r=4. This gives us 7!/(7-4)! = 7!/3! = 7x6x5 = 210. Therefore, the 4661st permutation of G={1,2,3,4,5,6,7} is {3,2,5,4,1,6,7}.

2. What is the difference between a combination and a permutation?

A combination is a selection of objects where the order does not matter. For example, choosing 3 out of 5 fruits to make a fruit salad. A permutation, on the other hand, is a specific arrangement of objects where the order does matter. For example, arranging 3 books on a shelf in a specific order.

3. Can I find the permutation of a set with duplicate elements?

Yes, you can find the permutation of a set with duplicate elements. However, you need to make sure to account for the number of times each element is repeated. For example, if the set is {1,1,2}, there are only 3 possible permutations - {1,1,2}, {1,2,1}, {2,1,1} - instead of 6 like in a set without duplicate elements.

4. Is there a faster way to find a permutation without using the formula?

Yes, there are other methods to find permutations such as using a permutation calculator or using a programming language that has a built-in function for permutations. However, the formula n!/(n-r)! is the most common and efficient method.

5. Are permutations used in real-world applications?

Yes, permutations are used in many real-world applications such as cryptography, statistics, and computer science algorithms. They are also used in everyday tasks such as shuffling a deck of cards or arranging a playlist on a music streaming platform.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
601
  • General Math
Replies
1
Views
719
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
3K
  • Precalculus Mathematics Homework Help
Replies
6
Views
590
  • Set Theory, Logic, Probability, Statistics
Replies
20
Views
1K
  • Differential Geometry
Replies
29
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Programming and Computer Science
Replies
4
Views
2K
Back
Top