Calculate Landau's function
Wolfram Language (Mathematica), 44 bytes
Max[PermutationOrder/@Permutations@Range@#]&
Try it online!
Wolfram Language (Mathematica), 31 bytes
@DanielSchepler has a better solution:
Max[LCM@@@IntegerPartitions@#]&
Try it online!
05AB1E, 6 bytes
Åœ€.¿Z
Try it online!
Ŝ # integer partitions of the input
€.¿ # lcm of each
Z # maximum
Haskell, 44 bytes
(%1)
n%t=maximum$t:[(n-d)%lcm t d|d<-[1..n]]
Try it online!