I couldn’t get yours to ever work with Bing Chat but I did eventually find something that did work for me (most of the time) and is about half the characters of yours without any real code golfing. My prompt was the following:
We can multiply 191241 by 741122 step-by-step: Express 191241 * 741122 as (19e4 + 12e2 + 41) * (74e4 + 11e2 + 22) Distribute product: 19e4 * 74e4 = 1406e8 19e4 * 11e2 = 209e6 19e4 * 22 = 418e4 12e2 * 74e4 = 888e6 12e2 * 11e2 = 132e4 12e2 * 22 = 264e2 41 * 74e4 = 3034e4 41 * 11e2 = 451e2 41 * 22 = 902 Gather terms: 1406e8 + (0209 + 0888)e6 + (0418 + 0132 + 3034)e4 + (0264 + 0451)e2 + 0902 Add terms in parentheses: 1406e8 + (1097)e6 + (3584)e4 + (0715)e2 + 0902 Expand zeros: 140600000000 + 1097000000 + 35840000 + 71500 + 902 Cumulative sum left to right: 141600000000 141697000000 141732840000 141732911500 141732912402 Result: 141732912402 Use this method to multiply 183112 by 994531.
I couldn’t get yours to ever work with Bing Chat but I did eventually find something that did work for me (most of the time) and is about half the characters of yours without any real code golfing. My prompt was the following: