Skip to main content
4 of 4
Commonmark migration

Japt -h, 9 7 bytes

k ü mÊn 

Try it

k ü mÊn :Implicit input of integer k :Prime factors ü :Group by value m :Map Ê : Length n :Sort :Implicit output of last element 
Shaggy
  • 45k
  • 4
  • 39
  • 95