Skip to main content

Posts

Showing posts with the label Dudeney Number

Dudeney Number

Dudeney number is a positive integer that is equal to the cube of the sum of all its digits. Checking a Dudeney Number Step 1 : Consider any number. Step 2 : Sum all its digits. Step 3 : Cube the number obtained in Step 2. If the number obtained in Step 3 is equal to the number considered in Step 1, it is a Dudeney number. But if the number obtained in Step 3 is not equal to the number considered in Step 1, it is not a Dudeney number. Examples Example 1 Step 1 : Consider number 0. Step 2 : Sum all its digits. The resultant is 0. Step 3 : Cube the number 0 obtained in Step 2 => 0 3 => 0 x 0 x 0. The resultant is 0. The number obtained in Step 3 is equal to the number considered in Step 1, hence 0 is a Dudeney number. Example 2 Step 1 : Consider number 1. Step 2 : Sum all its digits. The resultant is 1. Step 3 : Cube the number 1 obtained in Step 2 => 1 3 => 1 x 1 x 1. The resultant is 1. The number obtained in Step 3 is equal to the number considered in Step 1, hence 1 i...