Ascending Pattern:

Descending Pattern: