Classification of integers based on residue classes via modern deep learning algorithms