Both. I haven't got a pencil - The listener thinks I have/might have a pencil. I haven't got pencils - pencils are needed and the listener thinks you have them (ie.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.