Someone you never took a math class with that ended up being your math friend, at least in your mind they were your friend.
She was pretending to be a friend to her imaginary math pal.