Skip to main content
Commonmark migration
Source Link

#Japt -h, 9 7 bytes

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 

#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 

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 
added 65 characters in body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95

#Japt -h, 9 87 bytes

k ü mÊrwmÊn 

Try itTry it

k ü mÊrwmÊn :Implicit input of integer k  :Prime factors ü  :Group by value m  :Map Ê  : Length   r n :Reduce bySort w :Implicit output Maximumof last element 

#Japt, 9 8 bytes

k ü mÊrw 

Try it

k ü mÊrw :Implicit input of integer k  :Prime factors ü  :Group by value m  :Map Ê  : Length   r :Reduce by w : Maximum 

#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 
added 155 characters in body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95

#Japt#Japt, 99 8 bytes

k ò¦ü mÊrw 

Try it


##ExplanationTry it

  • Get prime factors with k.
  • Partition on inequality with ò¦.
  • Map lengths with .
  • Get maximum with rw.
k ü mÊrw :Implicit input of integer k :Prime factors ü :Group by value m :Map Ê : Length r :Reduce by w : Maximum 

#Japt, 9 bytes

k ò¦ mÊrw 

Try it


##Explanation

  • Get prime factors with k.
  • Partition on inequality with ò¦.
  • Map lengths with .
  • Get maximum with rw.

#Japt, 9 8 bytes

k ü mÊrw 

Try it

k ü mÊrw :Implicit input of integer k :Prime factors ü :Group by value m :Map Ê : Length r :Reduce by w : Maximum 
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95
Loading