After a monumental struggle, which as usual had a couple of false starts, I have finally completed this. I did have a major scare when I could not fit two of the five digit entries but then I spotted that some of the 3 digit and four digit entries could be placed in 2 ways. I thought that a further equation to eliminate the permutations of e,f,g,h & k would have eliminated a lot of frustrating blind alleys, but overall an excellent puzzle. In my opinion this is more a logic puzzle than a maths puzzle. I now need to double check my grid...........................