Hello! I need help writing something that partitions n into perfect kth powers (only perfect squares or only perfect cubes, etc.). I read the documentation on Partitions, but I couldn't figure out how to get partitions of n restricted to perfect kth powers.
Please help! Thank you!