Skip to main content
added 396 characters in body
Source Link
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, 5251 bytes (thanks to Luis Mendo for a byte)

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

Try it online!


51 bytes

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

Try it online!Try it online!

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!

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!


51 bytes (thanks to Luis Mendo for a byte)

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

Try it online!


51 bytes

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

Try it online!

added 393 characters in body
Source Link
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!

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, 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!

Source Link
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!