Generate a number that is one more than or one less than another number up to at least 20.