A pentagram is a five pointed star with crossing lines, the kind every kids learns to draw. A pentacle is a pentagram inside of a circle and has a rich history, which includes usages in various kinds of "magick". A pentagram inscribed in a pentagon is the symbol of the Pythagoreans and is a kickass mathematical shape.
Donald Duck and math, it is wonderful. If you mean about the Pythagoreans, they were a weird cult but most of the magicey stuff attributed to them was the nuttier Neoplatonists like Iamblicus claiming an ancient source for their own ideas to give them authority. There isn't much to go on about the actual Pythagoreans, and most of it was written by people who didn't like them. They might have been a lot like the early Academy, given Plato's interest in them. I'm not a classicist, though. Mostly I think Donald Duck movies about geometry are pretty great.
You realize Pythagoras was an occultist, started the first secret society, and is considered the father of Freemasonry and Rosicrucianism, the grand-master of double-meanings and hidden teachings, right? I mean, I'm not much for ascribing 'value' to different shapes, but saying that a pentagram is less occult or 'magicky' than a pentacle might not be entirely accurate. =P