Final answer:
Greg can give each of his 6 friends 5 truffles from a box of 35, and he will have 5 truffles left for himself.
Step-by-step explanation:
When Greg distributes the 35 truffles equally among his 6 friends, he needs to find out how many truffles each friend will get and how many will be left over for himself. To do this, he divides the total number of truffles by the number of friends.
35 truffles divided by 6 friends equals 5 truffles for each friend, with a remainder. This remainder represents the truffles that Greg will keep for himself. Mathematically, we calculate the remainder using the modulo operation: 35 % 6. The result of this calculation is 5, meaning that Greg will have 5 truffles left over after giving each friend their equal share.