Integer overflow in cumprod (cumulative product) output

This is integer overflow. If you want to work with huge integers without overflow, use BigInt. (Or use floating-point calculations.)

See e.g. the manual on overflow or this discussion or other similar discussions.

2 Likes