Finding Hashad numbers (aka Niven numbers) in F#.
If
If passed no arguments, just check numbers sequentially from 1 until interrupted.
If passed "-h" (or similar) show help.
If passed one or more numbers or ranges (<n>..<m>), check those numbers.
When numbers are expressed in different bases 0x0C in many progranmming languages).
HashadPart2 scan --bases <n>..<m> [<n>..<m>] ...
Scan from 1 upwards, checking each number of all the specified bases. At least one base must be specified.
HashadPart2 check <n>..<m> [<n>..<m>] ... --bases <n>..<m> [<n>..<m>] ...
Check the specified numbers in the specified bases. If no bases are specified then in bases
HashadPart2 -h|--help|-?
Show help.
In all cases bases must be an integer greater than one.