Math is hard and many struggle with it especially those who never had a proper education. Math is considered a universal language because it is the same regardless if you speak Chinese or Arabic. Scientists are planning to use math to communicate with other alien life forms in out space if they ever existed because math is the only true universal language.
Therefore, you would expect the Quran to be free from mathematical errors if a divine God wrote it.
Sadly, that is not the case.
Surah 4 of the Quran, which contains Allah's mathematics on dividing the inheritance, is rife with errors.
Quran(4,11-12) God instructs you regarding your children: The male receives the equivalent of the share of two females. If they are daughters, more than two, they get two-thirds of what he leaves. If there is only one, she gets one-half. As for the parents, each gets one-sixth of what he leaves, if he had children. If he had no children, and his parents inherit from him, his mother gets one-third. If he has siblings, his mother gets one-sixth. After fulfilling any bequest and paying off debts. Your parents and your children—you do not know which are closer to you in welfare. This is God's Law. God is Knowing and Judicious.
You get one-half of what your wives leave behind, if they had no children. If they had children, you get one-fourth of what they leave. After fulfilling any bequest and paying off debts. They get one-fourth of what you leave behind, if you have no children. If you have children, they get one-eighth of what you leave. After fulfilling any bequest and paying off debts. If a man or woman leaves neither parents nor children, but has a brother or sister, each of them gets one-sixth. If there are more siblings, they share one-third. After fulfilling any bequest and paying off debts, without any prejudice. This is a will from God. God is Knowing and Clement.
Consider just two of the examples: (A) a man died and his inheritors are his parents, wives and two daughters, Quran's mathematics require 113% of his estate to be divided; and, (B) if a man died his inheritors are his mother, wives and two sisters, Quran requires 108% of his estate to be divided, as follows:
66.7% = 2/3 for daughters 16.7% = 1/6 for mother
33.3% = 2 x (1/6) for parents 25.0% = 1/4 for wives
12.5% = 1/8 for wives 66.7% = 2/3 for sisters
112.5% = total for case (A) 108.4% = total for case (B)
Even the first rule is a contradiction of its own. ” The male receives the equivalent of the share of two females. If they are daughters, more than two, they get two-thirds of what he leaves.”
What if there are four sons and four daughters, if we follow that then the sons should have double that of what the daughters get, they should get half the inheritance but if we follow the second rule they should get two thirds.
These failures seem to be the outcome of humans who never studied basic math or logic, therefore it was the reason Why Ibn Taymiyya,the father of modern Muslim terrorism, issued a fatwa against philosophy and math> “whoever used logic has become an infidel”