Post History
Vyxal o, 16 bytes '∆K=;,'∆K<;,'∆K> Try it Online! Checks all numbers to see if they are perfect, then prints the ones that are, then does the same for abundant and deficient numbers. Ex...
#1: Initial revision
# [Vyxal](https://github.com/Lyxal/Vyxal) `o`, 16 bytes
```
'∆K=;,'∆K<;,'∆K>
```
[Try it Online!](http://lyxal.pythonanywhere.com?flags=o&code='%E2%88%86K%3D%3B%2C'%E2%88%86K%3C%3B%2C'%E2%88%86K%3E&inputs=49&header=&footer=)
Checks all numbers to see if they are perfect, then prints the ones that are, then does the same for abundant and deficient numbers.
Explanation:
```
# Implicit input 'n'
' ;, # Print any numbers in [1..n] for which the following is true:
∆K= # The number = the sum of its proper divisors
' ;, # Print any numbers in [1..n] for which the following is true:
∆K< # The number < the sum of its proper divisors
' # Push a list of numbers in [1..n] for which the following is true:
∆K> # The number > the sum of its proper divisors
# 'o' flag - Implicit output regardless of having printed
```
