等差数列{a n}中,前N项和为Sn,首项a1=4,S9=0,求公差d,若an+sn=-10,求n