This looks kinda scary but I think the answer for #12 is x81 + 1,296 x729 + 4,096 and that would go to 2x810 + 5,392 so those are some big numbers but a lot easier to simplify.
9.5m questions
12.2m answers