How many positive integers n less than 1000, have the property that the number of positive integers less than n which are coprime to n, is exactly n/3?
Your asking for the number of solutions to $$\phi(n)=\frac{n}{3}$$ for $$1\leq n\leq 1000$$ Where phi is eulers totient function
Sense, $$\phi(n)=n\prod_{p\mid n}(1-\frac{1}{p})$$
Your asking for the integers n between 1 and 1000, with $$\prod_{p\mid n}(1-\frac{1}{p})=\frac{1}{3}$$
I was attempting to answer this, but I got myself confused just trying to get my head around what the question wanted you to do... I think you're in good hands with @Jack174 :)
@thongkun Honestly, I don't see a really good way to do this. I would just recommend a brute force search, you can implement eulers totient function applied to n in mathematica as EulerPhi[n]
it's hard for me. Please bring out the simple solution.
Do you just want the answer
Its 25.
not just the answer
As in No, I just want ther answer or, No I don't just want the answer?
As I said it is 25.
Can I ask where you found this problem?
I found it on ''Brilliant.org'' .
why are you doing that, do you enjoy solving arbitrary problems
I am studying euler totient. I want to know how you can come the answe up
I don't understand why you are doing this, if your interested in mathematics I would have thought your time would be better spent just studying.
?
why are you solving problems there
@thongkun Do you understand what the Euler Totient Function is actually used for?
I am now studying to understand @sarahusher
Thanks @Jack174 :)
Okay, so the first thing to understand is what the totient function is used for. It's used to find out "of all the integers less than a number 'n', how many of those integers are coprime to n' so for example \[\Phi(98)=\Phi(2 \times 7^{2})\] using the formula for Euler's Totient Function, we find that there are 42 different numbers which are less than 98, that are coprime to 98. Does that help at all? I'm sorry I can't help you with your original question but I can maybe help you understand what it is used for :)
u have \[\prod_{p_k\mid n}(1-\frac{1}{p_k})=\frac{1}{3}\]hint: \(p_k \in\text{{2,3}}\)
There could be some other finite set of distinct primes whose resulting product is equal to a third.
ok, u have\[3\prod (p_k-1)=\prod p_k\]now\[3|\prod p_k\]so one of them must be 3 and \(\prod (p_k-1) | \prod p_k\) only possible prime is 2
so \(n\) must be in the form \[n=2^{\alpha}3^{\beta}\]where \(\alpha\) and \(\beta\) are positive integers
Your first line make sense, not following your last line.
$$\prod_{p\in \text{S} }p-1\mid \prod_{p\in \text{S}}p\implies \text{S={2}}$$
I don't folllow.
lets look at it in other way\[\prod \frac{p_k}{p_k-1}=3\]can \(p_k\) take a prime greater than 3? id probably say no because if \(p_k>3\) LHS will be divisible by that prime and RHS not.
right :)
I don't understand what your saying
though
I now see why its true, making an argument that p-1 is divisible by two and the numerator wont be divisible by enough powers of 2 because its a product of primes, in general if his problem was for the number of integers less then or equal to x that satisfy this constraint, it would be $$\sum_{k=1}^{[\log_2[x]]}[\log_3[\frac{x}{2^k}]]$$ Where the braces denote the floor function.
Is the number opositive integers n less than x, have the property that the number of positive integers less than n which are coprime to n, is exactly n/3?
Substituting x=1000, gives the solution 24 as required, nice solution muk
Thanks and that closed form is interesting :)
Join our real-time social learning platform and learn together with your friends!