Atshai / disarium-number

A Disarium number is a number defined by the sum of its digits raised to the power of their respective positions. For example, 89 is a Disarium number because 8 1 + 9 2 = 8 + 81 = 89 8 1 +9 2 =8+81=89. Here's a C program to check if a given number is a Disarium number or not:
14Updated 5 months ago

Related projects: