Consider following functions (written on Page 120 of the book "Summing It Up" by Avner Ash and Robert Gross, 2016): $$ a(n)= \begin{cases} 0 & \text{if $n$ is not prime and} \\ 1 & \text{if $n$ is prime.} \end{cases} $$ ... It turns out that $a(n)$ is not a very easy function to work with. Numbers like to be multiplied, so our next guess is to use $$ b(n) = \begin{cases} 0 & \text{ if n is not a power of a prime and} \\ 1 & \text{if n is a power of a prime.} \end{cases} $$ This is better but still not so great. The problem is that $b(n)$ does not depend on which prime $n$ is a power of, if indeed $n$ is a prime power. Finally, we try $$ \Lambda(n)=\begin{cases}0,&\text{if $n$ is not a power of a prime and}\\ \log p,&\text{if $n = p^m$ for some prime $p$.}\end{cases} $$
QUESTION:
What is the meaning of
$a(n)$ is not a very easy function to work with. Numbers like to be multiplied (how this affect $a(n)$)
The problem is that $b(n)$ does not depend on which prime $n$ is a power of, if indeed $n$ is a prime power (what $\Lambda(n)$ does different besides the output).
There's a saying in mathematics: "A mathematical object is what it does." The authors of your textbook are trying to find a function that does something. What that "something" is is hard to say without reading the textbook and seeing what the function $\Lambda$ does in the proof or example that the textbook outlines. But to answer your questions directly:
I hope this answers your question. In general, numbers don't like to be multiplied unless we care about multiplying them. And we don't care about which prime $n$ is a power of, unless there's a reason we should. $\Lambda$ is what it does, and clearly we care about these things for some yet-unknown purpose. I'm sorry I can't give you more information, but if you want to leave a comment about this I can update the answer :)