Source: https://www.lavc.edu/math/library/math105/Worksheets/primefactwthexp.pdf