Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest K Sengupta
 Share

Question

All the 7! = 5040 distinct permutations of the positive integer 1234567, including itself, are arranged in accordance with ascending order of magnitude.

Determine the 2010th number in the above arrangement.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

1234567 = n(1)

1324567 = n(2)

...

xxxxxxx = n(2010)

...

7564321 = n(5039)

7654321 = n(5040)

If this is right I'm sure I'll eventually figure it out but I have to clean up and go to work(stupid work).

Straight guessing from the obvious eventual pattern. It should be between 3576421 and 4123567.

All the 7! = 5040 distinct permutations of the positive integer 1234567, including itself, are arranged in accordance with ascending order of magnitude.

Determine the 2010th number in the above arrangement.

Edited by PVRoot
Link to comment
Share on other sites

  • 0

1234567 = n(1)

1324567 = n(2)

...

xxxxxxx = n(2010)

...

7564321 = n(5039)

7654321 = n(5040)

If this is right I'm sure I'll eventually figure it out but I have to clean up and go to work(stupid work).

Straight guessing from the obvious eventual pattern. It should be between 34xxxx and 43xxxx.

Actually:

n(1)=1234567

n(2)=1234576

n(3)=1234657

n(4)=1234675

I gotta get to sleep so I might come back and take a jab at this later as well, wanna race?

Edited by Anza Power
Link to comment
Share on other sites

  • 0

Wait a second actually this doesn't take much thinking at all...

The answer is 1...

The reason for this is the 2010th number is actually the first number of the 288th permutation, according to how the numbers are arranged the first 720 (6!) permutation are 1###### (with ###### being all permutation for 234567)

Link to comment
Share on other sites

  • 0

We count the permutations using the following

table:


perms starting with     Number      Cumulative

        1                720           720

        2                720          1440

       31                120          1560

       32                120          1680

       34                120          1800

       35                120          1920

      361                 24          1944

      362                 24          1968

      364                 24          1992

     3651                  6          1998

     3652                  6          2004

     3654                  6          2010

So, it's the last permutation starting with 3654.

That would be 3654721.

Well my first guess was close I'd have gotten there.

Link to comment
Share on other sites

  • 0

Wait is it the 2010th permutation or the 2010th digit if you put all the permutations one alongside the other in a string?

It is the 2010th permutation and, not the 2010th digit, if all the permutations are placed one alongside the other in a string.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...