q^th and r^th terms of an A.P. are a