From the information given we know that the top hymn number cannot exceed 329, as three times this amount, the bottom hymn number, would have more than three digits. The top number is generated, without duplication of digits, in three FOR/NEXT loops; the value is multiplied by two and three to obtain the two other numbers. These two are combined in a string and checked, first for duplication of digits in itself, and then against the original number.
KeywordsSelling Price Original Number Total Receive Perfect Number Common English Word
Unable to display preview. Download preview PDF.