change variable "whichterm" to e term number you want and the "pat 1" and "pat 2" variables to your starting numbers. Then you get your pattern!