1, 3, 7, 9, 13, 15, 21, 25, 31, 33, 37, 43, 49, 51, 63, 67, 69, 73, 75, 79, 87, 93, 99
number 17 is not lucky
number 18 is not lucky
number 19 is lucky
number 20 is not lucky
number 21 is not lucky
number 22 is not lucky
number 23 is not lucky
number 24 is not lucky
number 25 is not lucky
number 26 is not lucky
number 27 is lucky
number 28 is not lucky
So this need to be fixed to be merged, I am creating an issue right now, hopefuly we will implement correctly.
According to AllAlgorithms/python#32 (comment)
After finding this issue on Python I went back again to C++ to double check if the algorithm was ok, but cpp/lucky numbers doesn’t seem right at all.
We need to find the a correct implementation for Lucky Numbers!