Assignment: #NudeHarshadZuckerman |
Due: 01/28/02018 |
Points: 3 |

Write a Java application that prints to the standard output stream all of the integers in the [1, Short.MAX_VALUE] interval that are Nude, Harshad, and Zuckerman numbers.

- OEIS.org::Nude Numbers: "numbers that are divisible by every digit of the number."
- OEIS.org::Harshad (Niven) Numbers: "numbers that are divisible by the sum of their digits."
- OEIS.org::Zuckerman Numbers: "numbers that are divisible by the product of their digits."
Important Notes: The integers must be processed as 'ints' and only one pass through the digits of each 'int' is allowed. In other words, the integers cannot be converted into objects (and this includes Strings and arrays). [help... MinMaxDigits.java prints the smallest and largest digits found in an integer.]

The output of the program must match the following.

Nude Harshad and Zuckerman Numbers ================================== 1,2,3,4,5,6,7, 8,9,12,24,36,111,112,132, 135,144,216,224,312,315,432,612, 624,735,1116,1212,1296,1332,1344,1416, 2112,2232,2916,3132,3168,3276,3312,4112, 4224,6624,6912,8112,9612,11112,11115,11133, 11172,11232,11313,11331,11424,11664,12132,12216, 12312,12432,12768,13113,13131,13212,13248,13311, 13824,13932,14112,16128,16416,16632,17115,17136, 18432,18816,19116,21112,21132,21184,21216,21312, 21672,22112,22176,23112,23328,24192,24912,26112, 26136,26712,27216,31113,31131,31212,31311,31488, 32112,32616,