Blue Book page 47 Sum of Consecutive Arithmetic Progression, Even, or Odd in base b