I'm making a database of (electronics) chips in Access 2010. These have varying amounts of pins - 6, 8, 14, 16, 18, 20, 24, 28, 32 or 40.
On a datasheet, they are drawn as per the following image:
http://www.beavisaudio.com/library/555/555_556_Pinout.jpg
As you can see, the pin numbers run...