(no title)
imheretolearn | 2 years ago
This means each part has 5 things in it and there are 7 such parts which is fundamentally irreconcilable with the modulus operator. I think it is because of the limitation of the modulus operator which only works for integer values. So what you’re saying makes sense with real numbers BUT the context changes when you’re working with integers. So, with integer values it is 5 groups of 7 but 7 groups of 5 with real numbers
x86x87|2 years ago
Modulus in this case means divide into 7 parts and when you cannot divide anymore keep the reminder.
If x = a*b+c
x ℅ a = c and x % b = c
imheretolearn|2 years ago
41 % 7 = 6
41 % 5 = 1