One of the lead characters in A Wrinkle in Time, Meg was a high school girl who was very good at math, but had trouble fitting in because she was an oddball.
She was the prototype geek chick.