Mathematical sequence equations

Find the nth term, first number, difference and term number of a sequence.

Usage

import tiquations
tiquations.sequence_nth(2,100,2)
tiquations.sequence_first(nth,term_number,common_difference)
tiquations.sequence_difference(nth,first_term,term_number)
tiquations.sequence_termnum(nth,first_term,common_difference)

Example

import tiquations
tiquations.sequence_nth(2,100,2)
tiquations.sequence_first(36,12,3)
tiquations.sequence_difference(36,2,3)
tiquations.sequence_termnum(866,64,8)
>>>200
>>>3
>>>17
>>>101.25