All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Positive divisor of positive divisor (Posted on 2021-05-13) Difficulty: 3 of 5
A positive proper divisor is a positive divisor of a number, excluding itself. For positive integers n≥2, let f(n) denote the number that is one more than the largest proper divisor of n. Determine all positive integers n such that f(f(n)) = 2.

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
followup to solution | Comment 2 of 3 |

Tomarken does a fine job of showing that n = p is a solution, and n = 2(p-1) is a solution for all primes p, but leaves out showing that these are the only solutions. 


First, f(n) = 2 iff n is prime. If n is composite, then there’s at least one factor of n that’s >= 2 and < n, and so the smallest f(n) can be in this case is 3. So ONLY prime n’s can have f(n) = 2.


Now, if f(f(n)) = 2 then f(n) = some prime p > 2, and n = (p -1)k.  We already know that when k = 1 we have a solution, so we can focus here on k > 1.  We can similarly require p > 2 because if p = 2 then f(n) = 2 and we already know n must be prime.


If p is odd, then (p-1) can be written as 2q, and n = 2qk. But if k > 2 then kq is clearly a proper divisor of n AND kq > 2q, so f(n) would NOT actually be (p-1). This requires that k = 2 then. When k.= 2 then n = 2(p-1) and we have the only other solutions.


  Posted by Paul on 2021-05-15 16:50:47
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (10)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information