discrete structures foundation 3682447