Find the Maximal Prime Powers
Jelly, 7 4 bytes

æḟÆR


Try it online!

How it works

æḟÆR  Main link. Argument: n

  ÆR  Prime range; yield all primes in [1, ..., n].
æḟ    Power floor; round n down to the nearest power of each prime in the range.