sum 1/(a+bk) for k from L to R-1