{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
The number $a=\frac pq$, where $p$ and $q$ are relatively prime positive integers, has the property that the sum of all real numbers $x$ satisfying $\lfloor x\rfloor\cdot\{x\}=a\cdot x^2$ is $60$. What is $p+q$?
Write $x=n+f$ with $n=\lfloor x\rfloor$, $f=\{x\}$. For $n\le0$ the left side is at most $0$ and the right side at least $0$, so only $x=0$ works. For $n\ge1$ we need $nf=a(n+f)^2$; putting $f=rn$ gives $r=a(1+r)^2$.
This quadratic in $r$ has two positive roots with product $1$; the larger gives $f\ge n$, impossible. So $r$ is the smaller root, and the nonzero solutions are $x=n(1+r)$ for $n=1,\dots,N$, where $\frac1{N+1}\le r<\frac1N$. Their sum $(1+r)\frac{N(N+1)}2$ lies in $\left[\frac{(N+1)^2-1}2,\frac{(N+1)^2}2\right)$.
$(N+1)^2-1\le120<(N+1)^2$ gives $N+1=11$, so $N=10$ and $(1+r)\cdot55=60$, $r=\frac1{11}$.
$a=\dfrac{1/11}{(12/11)^2}=\dfrac{11}{144}$, so $p+q=\boxed{155}$.