#APL+WIN, 32 bytes
APL+WIN, 32 bytes
m,[.1]n÷m←(0=m|n)/m←1↓⍳⌊(n←⎕)*.5
Explanation:
(n←⎕) Prompts for screen input
m←(0=m|n)/m←1↓⍳⌊(n←⎕)*.5 Calculates the factors dropping the first
m,[.1]n÷ Identifies the pairs and concatenates into a list.
#APL+WIN, 32 bytes
m,[.1]n÷m←(0=m|n)/m←1↓⍳⌊(n←⎕)*.5
Explanation:
(n←⎕) Prompts for screen input
m←(0=m|n)/m←1↓⍳⌊(n←⎕)*.5 Calculates the factors dropping the first
m,[.1]n÷ Identifies the pairs and concatenates into a list.
APL+WIN, 32 bytes
m,[.1]n÷m←(0=m|n)/m←1↓⍳⌊(n←⎕)*.5
Explanation:
(n←⎕) Prompts for screen input
m←(0=m|n)/m←1↓⍳⌊(n←⎕)*.5 Calculates the factors dropping the first
m,[.1]n÷ Identifies the pairs and concatenates into a list.