记等差数列{an}的前n项和为Sn,若S1=4,S4=20,则该数列的公差d=