Two Buckets Puzzle Calculator
This online calculator finds a solution for a variation of two buckets puzzle where you need to fill a tank with certain volume.
This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/1008/. Also, please do not modify any references to the original work (if any) contained in this content.
The user enters the volume of the tank and the volumes of the two buckets, and the calculator produces the sequence of actions taken to fill the tank.
This type of problem is a classic example of mathematical problem-solving and is commonly taught in mathematics textbooks to teach basic mathematical concepts.
The calculator uses a brute force approach to find a solution, it simply checks all possible combinations. "Search depth" option limits the outputted solutions to certain number of actions (otherwise you can get too many results).