How to Factorize a Large Number for Permutations?

  • Context: Undergrad 
  • Thread starter Thread starter Nader AbdlGhani
  • Start date Start date
  • Tags Tags
    Permutation Permutations
Click For Summary

Discussion Overview

The discussion revolves around methods for factorizing the number 604,800 in the context of permutations, specifically for solving the equation nP7 = 604,800. Participants explore various approaches to simplify the factorization process, particularly when dealing with large numbers.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant describes their current method of dividing 604,800 by decreasing integers, noting that this approach can become cumbersome with more complex permutations.
  • Another participant points out that since 604,800 is divisible by 100, it implies that 10 must be included in the factors contributing to nP7. They discuss the implications of prime factors of 5 and 2 in determining possible values for n.
  • A similar point is reiterated by another participant, emphasizing the need to test values starting from 10*9*...*4 and considering other combinations that could yield the correct result.
  • One participant suggests finding the prime factorization of 604,800 and then dividing by factorials (2!, 3!, etc.) as an alternative method to approach the problem.

Areas of Agreement / Disagreement

Participants present multiple approaches and methods for factorization, but no consensus is reached on a single best method. The discussion remains open with various viewpoints and techniques being explored.

Contextual Notes

Some assumptions about the properties of prime factors and their combinations are made, but these are not universally accepted or resolved within the discussion.

Nader AbdlGhani
Messages
38
Reaction score
2
Hey guys , Could anyone here tell me the easiest way to solve for n , nP7 = 604800 , the traditional way (I'm currently using) is to divide 604800 by 10 and then 9 and so on until I get 1 as a result of that division , The problem is this way isn't helpful with all permutations I have in my study , some times it gets tricky .
 
Mathematics news on Phys.org
Notice that 604,800 is divisible by 100, which means that 10 must be one of the numbers in the factors that multiply to give ^nP_7. This is because we only have one prime factor of 5 which can couple with a prime factor of 2 in various ways, such as from 4 or 6 or 8, and that would give a factor of 10, so the other factor of 10 must be from 10 itself, or even 15 (the factor of 5 coupled with another 2 elsewhere). However, 15*14*...*9 is composed of 7 factors that are all mostly larger than 10, so the result is going to be larger than 107 = 10,000,000 which is much too large. So we only have a few to test, starting at 10*9*...*4 and working our way upwards from there. We actually find that n=10 gives the answer, but if for argument's sake we had to solve, say,

^nP_7=3,991,680

Then we know that n=15 is again too large, but now it's also not divisible by 100 any more, which means we're missing a prime factor of 5, and how can that happen? Only with
12*11*...*6
13*12*...*7
14*13*...*8
n being one larger or smaller than these possibilities and we'd end up with the factor of 5 in 5 or 15 and the result would be divisible by 100. So given just a few values to test, the result should be quick to find.
 
  • Like
Likes   Reactions: Nader AbdlGhani
Mentallic said:
Notice that 604,800 is divisible by 100, which means that 10 must be one of the numbers in the factors that multiply to give ^nP_7. This is because we only have one prime factor of 5 which can couple with a prime factor of 2 in various ways, such as from 4 or 6 or 8, and that would give a factor of 10, so the other factor of 10 must be from 10 itself, or even 15 (the factor of 5 coupled with another 2 elsewhere). However, 15*14*...*9 is composed of 7 factors that are all mostly larger than 10, so the result is going to be larger than 107 = 10,000,000 which is much too large. So we only have a few to test, starting at 10*9*...*4 and working our way upwards from there. We actually find that n=10 gives the answer, but if for argument's sake we had to solve, say,

^nP_7=3,991,680

Then we know that n=15 is again too large, but now it's also not divisible by 100 any more, which means we're missing a prime factor of 5, and how can that happen? Only with
12*11*...*6
13*12*...*7
14*13*...*8
n being one larger or smaller than these possibilities and we'd end up with the factor of 5 in 5 or 15 and the result would be divisible by 100. So given just a few values to test, the result should be quick to find.
Thanks for your help :D
 
Nader AbdlGhani said:
Thanks for your help :D
You're welcome!
 
How about finding the factorization of 604800 as a product of primes? Then divide by 2!, then by 3! , etc.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
4
Views
2K
  • · Replies 24 ·
Replies
24
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K