aboutsummaryrefslogtreecommitdiff
path: root/challenge-007/aecepoglu/bqn/ch-1.bqn
blob: eaf4a367481862a75536a53db4b713300dc0e01a (plain)
1
2
3
# Challenge #1
# Print all the niven numbers from 0 to 50 inclusive, each on their own line. A niven number is a non-negative number that is divisible by the sum of its digits.
•Show¨(0=⊢|˜·+´'0'-˜•Fmt)¨/↕51