Generation

generate functionFri, 28 Apr 2023

combinacionesMenoresOIguales :: Integer -> Integer combinacionesMenoresOIguales n = sum [1 | i <- [1..n], j <- [1..n], i * j <= n]

combinacionesMenoresOIguales n = sum [1 | i <- [1..n], j <- [1..n], i * j <= n] combinacionesMenoresOIguales 10

Want to kickstart your project?Use the new AI Studio to create your code