SpnSn=pn2[2a+(pn−1)d]n2[2a+(n−1)d]=p[(2a−d)+npd](2a−d)+nd
Above will be independent of n only when
2a−d=0 as in that case n will cancel from both NrandDr
ad=12