representation rings of general linear groups and of symmetric groups