This challenge gives us the power consumption of a "something" that validates PIN codes. We will be going towards differential power analysis (DPA) to solve this problem.
Initially I tried calculating the mean for all the numbers at the same time, but nothing stood out particularly. So I imagined that the code that checked the PIN was probably checking the numbers one by one. So we are going to proceed the same way.
We calculated the average power consumption for all the codes that started with 0???
then all those like 1???
... and compared their averages, the one that stood out the furthest from the lot gives us the right first digit.
We got this output