Saturday, May 28, 2011

Harshad Numbers

http://www.thebeerbarrel.net/showthread.php?7764-Harshad-Numbers

What's a Harshad number, you ask?

I encountered the following explanation attempting to figure out why a program stopped at *exactly* 2422655116.

(Short version: it's a number divisible by the sum of it's digits, with respect to some base).

What are the odds of that?

No comments:

Post a Comment