In python given an array like so:
a = [ 0, 1, 3, 4, 6, 7, 8, 10, 14 ]
I would like to split this into three uneven groups, such that I end up with something like this:
b = [0, 1, 3, 4]
c = [6, 7, 8]
d = [10, 14]
I want to group numbers by multiples of 5. So any integers from 0 - 4 would end up in the first array, 5 - 9 in the second, and so on.