What is the white residue on pots after cooking beans or lentils?
That white stuff is usually starch residue. If you put some hot water in the pot and some baking soda in it and let it soak overnight , it should be easier to clean, failng that,you could try cider vinegar and hot water