The first term of an A.P is loga and the second term is logb. Express the sum to n terms as a logarithm.