find:the value of the nth term when a=3 and b=5