已知等差数列{a n }满足a 1 =1,a 5 =9,则公差d=(  ) A.1 B.2 C.3 D.4