Posts: 1,253
Threads: 117
Joined: Nov 2005
http://primes.utm.edu/curios/page.php/41.html
you've been warned...
Incidentally I came across that while looking for a 41-MCODE routine to calculate the sum of digits of a given number - anybody remembers where that'd be?
Posts: 2,448
Threads: 90
Joined: Jul 2005
ironically the 41c is not mentioned.
Posts: 1,392
Threads: 142
Joined: Jun 2007
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))