In this exercise the logic of sequence of numbers will be tested.
For this you have to create a function `number_logic` which will take a number `u32` and return `true` if the number is the sum of its own digits, each raised to the power of the number of digits, and `false` otherwise.
In this exercise, the logic for a sequence of numbers will be tested.
You will have to create a function which will return `true` if the number is the sum of its own digits, where each digit is first raised to the power of the number of digits.