The Robin criterion states that the Riemann hypothesis is equivalent to the inequality I¨(n)<e3nloglogn for all n>5040, where I¨(n) is the sum of divisors of n, and I^3 is the Euler--Mascheroni constant. Define the family of functions \[ Ï^{[k]} (n):= um_{[d_1,\dots,d_k]=n}d_1\dots d_k \] where [d1,…,dk] is the least common multiple of d1,…,dk. These functions behave asymptotically like I¨(n)k as k→∞. We prove the following analogue of the Robin criterion: for any k≥2, the Riemann hypothesis holds if and only if I¨[k](n)<I^¶(k)(e3nloglogn)k for all n>2162160, where I^¶ is the Riemann zeta function.