I have a friend who is a mathematician and has developed a formula to win money on online casinos. It wins every time – there is no real betting involved. It is perfectly legal and I would like to know if it is halachically permissible.
It’s not clear from the question exactly what is involved. If there is “no real betting involved,” then what is involved?
I suppose that if it’s strictly legal there would be nothing forbidding it from a Halachic point of view, although one might argue that the other gamblers who are placing their money are assuming that they have at least a chance of winning, and if in fact they have no chance it might be considered as taking their money against their will.