I think I see a pattern. Div by 9: Add the 1s place to the priors. Div. by 11: Subtract the 1s place from the priors. Div by 19: Multiply the 1s place by 2 and add to the priors. Div. by 21: Multiply the 1s place by 2 and sutract from the priors. ...
Comments
Div. by 59: mult. 1s place by 6 and add to the priors. Div. by 61: mult. 1s place by 6 and sub from priors.