Home Page | Web Board | Problems | Standing | Status | Award Contest |
Problem F:Specialized Four-Digit Numbers Time Limit:1000MS Memory Limit:65536K Description
Find and list all four-digit numbers in decimal notation that have the property that the sum of its four digits equals the sum of its digits when represented in hexadecimal (base 16) notation and also equals the sum of its digits when represented in duodecimal (base 12) notation.
Input There is no input for this problem Output Your output is to be 2992 and all larger four-digit numbers that satisfy the requirements (in strictly increasing order), each on a separate line with no leading or trailing blanks, ending with a new-line character. There are to be no blank lines in the output. The first few lines of the output are shown below. Sample Input
Sample Output
|
[Submit] [Go Back] [Status] [Clarify]
All Copyright Reserved 2003
Any problem, Please Contact Administrator