0 Members and 1 Guest are viewing this topic.
Total[IntegerDigits[2012^2012, 5]]
System.Numerics.BigInteger hugenumber = System.Numerics.BigInteger.Pow(2012, 2012);// now type iconv=10;oconv=5 then the result of hugenumber in bcstring lolbase5number = "whatever you got in bc";int TheAnswer = 0;for (int i = 0; i < lolbase5number.Length; i++){ TheAnswer += lolbase5number[i]-48;}// now output it