There was an error while loading. Please reload this page.
1 parent 18ea4bf commit c535bd7Copy full SHA for c535bd7
1 file changed
maths/special_numbers/disarum_number.py
@@ -1,8 +1,10 @@
1
"""
2
-A number n is said to be a Disarium number if
3
-the sum of its digits powered to their respective positions equals the number itself.
+A number n is said to be a Disarium number if the sum of its digits raised to
+their respective positions equals the number itself.
4
5
Examples of Disarium Numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 89, 135, 175, 518, 598, ...
6
+
7
+https://rosettacode.org/wiki/Disarium_numbers
8
9
10
0 commit comments