[math-fun] Variable prime power base