All pastes #471679 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-05 01:43 UTC
rendered paste body
Create 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