and '3' comes from the datasheet in the ADCON1 register setting (register 11-2, page 128) ADCS2 table