Take a test Sign in 中文
← Exercise 785 →
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 785
For every composite positive integer $n$, let $r(n)$ be the sum of the factors in the prime factorization of $n$ (counted with multiplicity), so $r(50)=2+5+5=12$. How many composite positive integers $n$ satisfy $r(n)=12$?
← Back to Problem 785
Solution
  1. By unique factorization (Theorem 79), $n$ corresponds to a multiset of at least two primes with sum $12$.
  2. List them by the largest prime: $\{7,5\}$, $\{7,3,2\}$, $\{5,5,2\}$, $\{5,3,2,2\}$, $\{3,3,3,3\}$, $\{3,3,2,2,2\}$, $\{2,2,2,2,2,2\}$. ($11$ would need $1$; $\{7,\dots\}$ and $\{5,\dots\}$ are complete as listed.)
  3. So there are $\boxed{7}$ such $n$: $35,42,50,60,81,72,64$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year