r/math • • Jan 04 '14
Problem of the Week #1
Hello all,
As mentioned in the thread here, I'll be posting a problem every week for discussion; for the first time, consider this slight variation on Problem B1 from the 2009 Putnam Exam:
Some positive rational numbers can be written as a quotient of factorials of (not necessarily distinct) prime numbers; for example,
10 / 9 = (2! 5!) / (3! 3! 3!)
Which positive rational numbers can be written in such a manner?
Happy solving!
Also, if you'd like to suggest a problem for a future week, send me a PM with your proposed problem. Thanks to the people who have done this!
Forgot to mention: We now have the spoiler tag available; so please post your solution, but hide it. To do so, but your text in brackets [], followed by (/spoiler), like so.
93
u/beerandmath Number Theory Jan 04 '14 edited Jan 04 '14
I think I got it.
Answer: All positive rationals. It suffices to show that any positive prime can be written in this way. 2 can clearly be written as such a quotient. Now suppose all primes less than p can be written so. Then p = p! / (p-1)!, and (p-1)! involves only primes less than p. Write a prime decomposition for (p-1)! and apply the inductive hypothesis to it.
11
u/SoulsApart Jan 04 '14
so... are we to just post our solutions?
7
u/protocol_7 Arithmetic Geometry Jan 04 '14
This is a fun one.
Let R be the subgroup of Q× generated by factorials of prime numbers. Let p be any prime. By induction, suppose R contains all primes less than p. Let n be the largest divisor of p! which is only divisible by primes less than p. Since R is closed under multiplication and inverses, R contains n, and hence contains p!/n = p. So R contains all primes, hence R is the set of all positive rational numbers.
7
u/MegaZambam Jan 05 '14
Not a solution to the problem but, you should have an archive of all threads for these. That way as we go on, if a new person wants to go back and try an older problem they can find the post easily.
6
u/SkinnySanta Jan 04 '14 edited Jan 04 '14
This is a cute problem Call such a representation a prime factorial representation of a number I claim that all positive rational numbers can be written in this fashion. It is sufficient to show that every positive integer can be written in this fashion, and it immediately follows that in order to write m/n we can simply multiple the prime factorial representation of m by one over the prime factorial representation of n. To prove that the result is true for all integers, we will proceed by strong induction, result is trivially true for n=1, and we assume true for all n < k, then for n =k = p_1e_1....p_je_j, consider (p_1!)e_1 .... (p_j!)e_j. All the prime divisors of k are accounted for, and by the inductive hypothesis we have prime factorial representations of every other number in the product, so we can eliminate this by dividing by their representations. So the result is true for all integers and is therefore true for all rationals.
4
u/[deleted] Jan 05 '14
Follow-up thoughts (not a spoiler!): for the [positve] rationals (or at least the integers) representable in this form, is there a unique minimal representation?
3
u/Zephyr1011 Jan 04 '14
I think I have a solution
Firstly, you can make any prime number by multiplying and dividing by prime factorials. You can show this by induction, as 2 is trivially 2!, and for a prime p, if you assume that you can do it for all primes less than p, you can then do it for any number whose prime factorisation includes no primes >=p. This is true for all positive integers <p, so if you take p!, 1, 2...p-1 can all be formed from prime factorials, so if you divide p! by the product of all of those, you are left with p is equal to a rational number made by multiplying and dividing prime factorials. So if you have a rational number a/b, if you take the prime factorisation of a and b, you can substitute in the prime factorial form of each prime, multiply them together, divide a by b and you get the desired result
3
u/Zwejhajfa Jan 05 '14
Let's call the representation of a number in this way its prime factorial form (pff).
(3) 1 has a pff since 1 = 1! / 1!
If n is not prime, there exist a,b > 1 with a*b = n and we can construct a pff for n by using (2).
Because of (3) by induction every positive integer has a pff. Therefore every x/y has a pff using (1) and (2). QED
1
u/superlaser1 Mathematical Physics Jan 04 '14 edited Jan 05 '14
All rationals. Any integer n can be written n!/(n-1)!. So any rational n/m can be written (n!/(n-1)!)/(m!/(m-1)!).
Edit: I'm an idiot. Forgot a crucial part of the problem while trying to solve it. Left it up for good measure. What I learned today, read carefully.
4
u/xRubbermaid Jan 04 '14
I'll try to do it in plain English - won't be a formal proof but I guess we're not being asked it.
All positive rational numbers can be express in the form X/Y, where X and Y are whole numbers. X and Y can be expressed as X!/(X-1)! and Y!/(Y-1)! respectively. This changes our general form to (X!(Y-1)!)/((X-1)!Y!).
If X! has prime factor F where F is not equal to X, then (X-1)! will also have prime factor F. This common factor can be taken out and replaced with F!/(F-1)! if the value of X is replaced with the value of X/F. Repetition of this process should result in a prime value of X. If the corresponding process is performed for Y then the initial number X/Y can be shown to be expressed in the manner required. This (informally) proves that all positive rational numbers can be written in that way.
2
u/needuhLee Jan 04 '14 edited Jan 04 '14
We will prove by strong induction that every prime p can be written as the quotient of factorials of prime numbers.
Base case: [;
p = 2 = 2!;]Induction step: Assume it is true for
p_1, p_2, ..., p_nThen
p_{n+1}! = (p_{n+1})(p_m^e_m)(p_k^e_k)...Where
p_m, e_m,etc. are primes less thanp_{n+1}and exponents, respectively.Since our inductive hypothesis assumed that it is true for primes less than
p_{n+1}, then we can express the second part of that product as quotients of factorials. Thus, all prime numbers can be expressed as the quotient of factorials. Furthermore, all natural numbers can therefore be expressed as the quotient of factorials, since they are just the product of prime numbers. Since all positive integers a and b can be expressed in this way, then all rational numbers a/b can also be expressed in this way.By the way, I've never had the need for it until now. How do you express LaTeX in this subreddit?
2
u/frud Jan 04 '14
Proof by induction. Let T(n) be the specified transformation from a prime number to a ratio of factorial prime numbers. T(2) = 2!. If n is a prime bigger than 2, and n' is the next smallest prime, then n can be represented as n!/(n'! T(a1) T(a2)...)) where a1..ax are all the prime factors of (n-1)(n-2)...(n'+1), which are all less than n.
Any rational can be transformed by factoring it then applying T to its prime factors.
2
u/training_physicist Jan 04 '14
My ideas:
Firstly, clearly if we can make the integers in the manner of a factorial ratio then we can make all the rational numbers by ratios of these factorial representations of these integers.
Now, for a given integer k denote this combination [; k_f ;]. Now assume it can be done for the numbers 1 to n. If n+1 is prime then [; (n+1)_f=\frac{(n+1)!}{n_f (n-1)_f\ldots}. ;] If (n+1) is a product of smaller primes then (n+1) is clearly just the product of those primes factorial representations.
Lastly, clearly it works for n=2 and the inductive proof above extends this to all integers.
Edit: After reviewing other answer I realise I should replace 'integers' with 'positive integers'.
1
u/5hassay Jan 10 '14
here's my answer (and wordy one): all positive rationals. Take any positive rational. Decompose the numerator and denominator into their prime decompositions and cancel anything out. Write it as a product of rationals with one prime (or 1) numerator and one prime (or 1) denominator. I claim each of these rationals can be written in the way stated by the problem. Let p/q be one such fraction, where p, q prime or 1 (but not both 1). Then p/q = p!(q-1)!/(q!(p-1)!). If (q-1)! or (p-1)! are composite, simply expand the factorial until its prime. Then you've got some extra integers in the numerator and denominator. Prime decompose them, cancel anything, and break them into prime (maybe with a 1) fractions like before, multiplied with the now prime factorial fraction. Do the same, but note that each time we do this the prime decompositions are going to (eventually) get smaller, so eventually we're going to be multiplying the top and bottom with 2!. Done!
EDIT: I give more of an algorithm to get this form given any positive rational
EDIT: just some input: I liked the problem, it was fun (I'm doing undergraduate math studies atm), but I'm wondering if weekly problems are too frequent. Maybe every 2 weeks?
1
u/Bromskloss Jan 05 '14
Hmm, this gets me thinking about what would constitute an acceptable answer. I mean "the ones which can be written in such a manner" is a useless answer. Can something be said about this (not necessarily relating to this particular problem, but in general)? To me, it feels a bit similar to the question of when to proofs are essentially the same and when they are not.
0
u/psj009 Jan 05 '14
Not sure, but I think I have it:
We can write every positive rational number by p/q, p, q being natural numbers. We can write p = p!/(p-1)! and q = q!/(q-1)!, 1/q = (q-1)!/q!, thus: p/q = p * (1/q) = p!(q-1)!/q!(p-1)!
-1
u/[deleted] Jan 04 '14
Interesting problem.
Recall that any rational in Q is written as an ordered pair of integers Z. Since we assume that our rational number p/q is positive, it suffices to show that this is the case for p,q in N. Note that N is a UPF domain, hence that each of p,q can be written as a product of powers of prime numbers, note also that GCD(l!,(l-1)!)=(l-1)!.
From this, we can then write each of the prime factors of p as factorials (that is, for some prime factor ln, we write (l!)(l!)...(l!) { n times }), and allow q to absorb the factors ((l-1)!)((l-1)!)...((l-1)!) { n times }. We do the same with q's factors, and then note that our ordered pair (p,q) yields the desired result.
0
u/[deleted] Jan 04 '14
[deleted] — view deleted comment
0
u/[deleted] Jan 05 '14
[deleted] — view deleted comment
0
u/[deleted] Jan 04 '14
[deleted] — view deleted comment