2 lines
94 B
Text
2 lines
94 B
Text
|
|
isSelfDescribing[n_Integer] := (RotateRight[DigitCount[n]] == PadRight[IntegerDigits[n], 10])
|