I would like to create a sequence to automatically generate primary key values for a table.

Can I confine a sequence to be used only for one table and not any other? Also can I prevent it from skipping values when storing in one table.
e.g. I would like all values from 1 till 5 to be stored in a table as a primary key; and don't want it to be like 1,3,4,5.