5.2: Generate two numerical patterns using two given rules and complete an input/output table for the data.