Take a test Sign in 中文
← Exercise 788 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 788
For each positive integer $m>1$, let $P(m)$ denote the greatest prime factor of $m$. For how many positive integers $n$ is it true that both $P(n)=\sqrt n$ and $P(n+120)=\sqrt{n+120}$?
← Back to Problem 788
Solution
  1. We need primes $p,q$ with $q^2-p^2=(q-p)(q+p)=120$.
  2. Both factors are even: $(2,60)$, $(4,30)$, $(6,20)$, $(10,12)$, giving $(q,p)=(31,29)$, $(17,13)$, $(13,7)$, $(11,1)$.
  3. The first three have both prime. So there are $\boxed{3}$ values: $n=29^2,13^2,7^2$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year