Ascending Pattern:

Decending Pattern: