Untitled
public text v1 · immutableCreate a function called tn($a,$r,$n)
will return the term t subscript n = a * r to the power of n to the power of -1
the user enters : a,r, and the range of terms they want to see.
example: a=2, r=3, range 1=3, range 2=5
output: 18,54,182