Skip to main content
2 of 3
added 393 characters in body
xnor
  • 146.6k
  • 26
  • 279
  • 652

Python 2, 51 bytes

f=lambda n,k=2:n/k/k*[f]and[(k,n/k)][n%k:]+f(n,k+1)

Try it online!


Python 2, 52 bytes

lambda n:[(n/k,k)for k in range(1,n)if n%k<1<=n/k/k]

Try it online!

xnor
  • 146.6k
  • 26
  • 279
  • 652