I want to consider the value of the 'function' $15$ at the point $(7)$ of $\text{Spec}(\Bbb Z)$.
So we consider $15\in\Bbb Z$ over the composition: $$\Bbb Z\to \Bbb Z/(7)\to k(7)$$
Where the last term is the residue field at $7$.
So we have $15\mapsto [1]\in\Bbb Z/(7)$, and I take it that $k(7)=\Bbb Z_{(7)}/(7)\Bbb Z_{(7)}$ (where $\Bbb Z_{(7)}$ is the localization at prime ideal $(7)$). Where this just consists of all fractions $i/j$ such that $i,j\in \Bbb Z$ and $7$ does not divide $i$ or $j$.
I have no idea where to send $[1]\in \Bbb Z/(7)$ to in $k(7)$.