Skip to main content
1 of 2
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81

#Mathematica, 53 bytes

Array[s[[{#,-#}]]&,⌈Length[s=Divisors@#]/2⌉-1,2]&

Try it online!

ZaMoC
  • 24.9k
  • 2
  • 30
  • 81