A281724 Numbers k with the property that (sum of digits of k) times (number of digits of k) equals (sum of {each digit of k} raised to the power {number of digits in k}).
1, 2, 3, 4, 5, 6, 7, 8, 9, 20, 22, 102, 120, 201, 210
Offset: 1
Examples
9 is a term because 9^1 = 1*(9); 20 is a term because 2^2 + 0^2 = 2*(2 + 0); 210 is a term because 2^3 + 1^3 + 0^3 = 3*(2 + 1 + 0).
Programs
-
Mathematica
W = Array[Total[IntegerDigits[#]^IntegerLength[#]]&, 100]-Table[IntegerLength[n] * Total[IntegerDigits[n]], {n, 100}]; Flatten[Position[W,0]]
Comments