Re: Totally useless trivia... 41 Message #3 Posted by Don Shepherd on 7 Dec 2011, 9:38 a.m., in response to message #1 by Ángel Martin
I don't know about MCODE and the HP-41, but here's a nice little HP-17b solver equation that gives you the sum of digits of a number. It even works on the newer HP-17bii+.
SOD=(I:0:LOG(N):1:MOD(IDIV(N:10^I):10))
|