I'd like to understand the purpose of mathcal for arguments that aren't upper-case letters. For example, \mathcal{2} gives ∈ and \mathcal{p} gives √.
I tested it for all numbers and lower-case letters, but didn't find any pattern behind them. Does this happen due to a bug or is there an automatic correspondence of sorts?
P.S.: I came across several questions complaining about the abscence of stylish lower-case letters in mathcal, but this isn't what I'm asking about (even though it makes no sense to me).

\mathcalis also used for other symbols. – Heiko Oberdiek Jun 21 '17 at 03:44