Sorry for the delay...
These were originally for Pentax film cameras... But I have heard of them working with Nikons as well... This is a film lense if it is the one I'm thinking of and not compatible with digital cameras... How old is it?
Does it look like this: