Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
sage: m=5;n=3
sage: ((m^n)^2+1)*((m^m)^2)
152597656250
sage: (((m^n)^2+1)*((m^m)^2)).log(10).n()
11.1835478633337

You are trying to allocate a matrix of 152 billions rationals (and some change...). Do you have enough memory for that ?