Mod[Sum[Prime[i], {i, 3, 25}], 6]