I am not sure where it came from -- it seems to resemble the Wikipedia biography: https://en.wikipedia.org/wiki/Paul_Erd%C5%91s
I agree -- his father and grandfather were high school teachers, but his mother was not. She was related to my grandmother, and was a close friend of my grandmother's older sisters. The families were part of the Jewish community of Povazska Bystrica [now Slovakia].
My great-aunts spoke about Anna on occasion. They never said she was a teacher or a mathematician. What they talked about is how she came home from the hospital with her third child -- Pal [Paul] -- and to the news that her two older daughters were both dead. It was probably why she so entirely dedicated herself to Paul and his career. They were inseparable.
Possibly the incorrect info came from the biography that was written about him -- "The Man Who Loved Numbers". I have read that, but I don't have a copy of my own.
Feel free to change the biographical info to make it more accurate.
Robert Hanscom