dividing into many parts does not change the complexity of the algorithm.
dividing into 5 parts makes it O(log5n) that is O(log2n) or O(log n)
ps: log5n= log2n / log25 ;here log25 is a constant factor that we can ignore.this is the reason why we dont specify the base of log in O() notation.
so dividing into 5 parts does not change the complexity but the divide step to divide into 5 parts might be slower than that to divide into 2 parts and create further overhead in the algorithm. so we dont usually divide into more than 2 parts unless needed.