The Islamic law of inheritance served as the force behind the development of Algebra by Al Khwarizmi and other mathematicians. His book’s longest chapter “foundation text of algebra” is related to Islamic inheritance. Hence proving that Quran is the main motivation behind the science of Algebra.

A Muslim mathematician from North Africa, named Al Hassar, developed the modern symbolic math notations for fractions containing numerator and denominator. So both Fathers of Modern Math considered Author of the Quran to be God.

Allah is the Main Force behind all Math on Earth.

This is not an error but misunderstanding of scripture, here it presents a general rule and does not give a fixed fraction as posed in question. if the number of people change the values can be changed close to the base rule.

there are many scenarios in which the sum of the prescribed shares is greater than the inheritance. The way to resolve this kind of issue is to reduce the share of each of the heirs proportionately. So that no one heir will bear the entire shortfall whilst others lose nothing.

For example: “The wife gets one eighth, the daughters get two thirds, the father gets one sixth, and the mother gets one sixth.”

In order to distribute the estate to the heirs, the estate is to be divided into 24 equal parts, which is what the scholars call the “basic figure”, which is the lowest number that will allow the shares of inheritance to be represented by whole numbers. This is similar to the issue of finding the lowest common denominator when adding fractions that have different denominators such as one half and one third.

If we work out the share of each heir in this case, then the share of the wife, which is 1/8, becomes 3/24; the father and mother each get 1/6, which becomes 4/24; and the daughters get 2/3, which becomes 16/24. The total of these shares is 27/24

It is not possible to give each of the heirs his or her share in full, because the estate is not sufficient. In that case, justice dictates that the share of each heir should be reduced. So instead of dividing the estate into 24 equal shares, it is divided into twenty-seven equal shares, which is the sum of the shares of all heirs.

So the final division will be:

The wife gets 3/27 shares, so the 1/8 to which she is entitled becomes 1/9. Each of the parents gets 4 shares out of 27. The daughters get 16 shares out of 27.

There is no problem in scripture or in interpretation other than non believers prejudice ignorant minds