randRange( 3, 12 ) randRange( 1, ITEMS_PER_GROUP - 1 ) randRange( 2, 12 ) GROUPS * ITEMS_PER_GROUP ITEMS_IN_GROUPS + ITEMS_LEFT getNontrivialFactor( TOTAL_ITEMS ) TOTAL_ITEMS / NEW_ITEMS_PER_GROUP
person(1) is putting plural( item(1) ) into plural( group(1) ). If he(1) puts plural( ITEMS_PER_GROUP, item(1) ) in each group(1) he(1) will groupVerb(1) plural( GROUPS, group(1) ) and have plural( ITEMS_LEFT, item(1) ) left over. If he(1) instead puts plural( NEW_ITEMS_PER_GROUP, item(1) ) in each group(1), how many plural( group(1) ) of plural( item(1) ) can he(1) groupVerb(1)?
NEW_GROUPS plural( group(1) )

plural( GROUPS, group(1) ) of plural( ITEMS_PER_GROUP, item(1) ) each results in GROUPS \times ITEMS_PER_GROUP = ITEMS_IN_GROUPS plural( item ).

plural( ITEMS_IN_GROUPS, item(1) ) plus ITEMS_LEFT left over equals TOTAL_ITEMS total plural( item(1) ).

plural( TOTAL_ITEMS, item(1) ) divided into groups of NEW_ITEMS_PER_GROUP is TOTAL_ITEMS \div NEW_ITEMS_PER_GROUP = NEW_GROUPS plural( group(1) ).

randRange( 4, 12 ) randRange( 4, 12 ) randRange( 4, 12 ) ITEM_1_COUNT * ITEM_1_COST TOTAL_SPENT_ON_1 + ITEM_2_COST
person(1) bought plural( ITEM_1_COUNT, storeItem(1, 1) ), all costing the same amount, from the store(1) store. He(1) also bought a storeItem(1, 2) for plural( ITEM_2_COST, "dollar" ). He(1) spent a total of plural( TOTAL_SPENT, "dollar" ). How much did each storeItem(1, 1) cost?

ITEM_1_COST

Of the plural( TOTAL_SPENT, "dollar" ), he(1) spent plural( ITEM_2_COST, "dollar" ) on a storeItem(1, 2), so he(1) must have spent a total of TOTAL_SPENT - ITEM_2_COST = TOTAL_SPENT_ON_1 dollars on plural( storeItem(1, 1) ).

He(1) spent plural( TOTAL_SPENT_ON_1, "dollar" ) on plural( ITEM_1_COUNT, storeItem(1, 1) ), so he(1) must have spent TOTAL_SPENT_ON_1 \div ITEM_1_COUNT = ITEM_1_COST dollars on each storeItem(1, 1).

randRange( 10, 99 ) getNontrivialFactor( TOTAL_ITEMS ) TOTAL_ITEMS / ITEMS getNontrivialFactor( TOTAL_ITEMS ) TOTAL_ITEMS / NEW_ITEMS
person(1) has a bunch of plural( item(1) ). When person(1) places plural( ITEMS, item(1) ) in each group(1), he(1) ends up with plural( GROUPS, group(1) ). If he(1) wants plural( NEW_GROUPS, group(1) ), how many plural( item(1) ) should he(1) put in each group(1)?
NEW_ITEMS plural( item(1) )

plural( ITEMS, item(1) ) \times plural( GROUPS, group(1) ) = plural( TOTAL_ITEMS, item(1) ).

If we divide the plural( TOTAL_ITEMS, item(1) ) into plural( NEW_GROUPS, group(1) ), then we get TOTAL_ITEMS \div NEW_GROUPS = NEW_ITEMS plural( item(1) ) per group(1).