I'm reading a physics booklet on radioactivity and at one part during the calculations it says:
$$A(0) = 6.0 \cdot 10^{23} \times \frac {\ln 2}{(8 \times 24 \times 3600)} = N(21) = 6.0 \cdot 10^{23} \cdot {\left(\dfrac{1}{2}\right)}^{21/8}$$
But when I try this on my calculator it doesn't work. Coincidentally, it says that these types of calculations can go wrong easily on a calculator, but is this even correct?
No, it can't be right. Ignoring the common factor of $6\times 10^{23}$, the left-hand side $$ \frac{\ln 2}{\text{some integer}}$$ is transcendental, whereas the right-hand side $$ (\text{some rational})^{\text{another rational}} $$ is algebraic. So they are not mathematically identical.
Actually, they are not even approximately equal -- they differ by about 5 orders of magnitude!