Smith Number Generator