Post History
Husk, 9 bytes ΛöS=⌊AhḊḊ Try it online! or Verify all testcases returns number of divisors + 1 for true and 0 for false.
Answer
#2: Post edited
- # [Husk], 9 bytes
- ΛöS=⌊AhḊḊ
[Try it online!](https://tio.run/##SyzI0U2pTMzJT///qG@qp/@jtgkG/9OAZPWjjuX6Gga2hjXa@oe3P@pcpHlohWH6oRUGGulA2Ucdqx51LXrUseJR2@RHHTMe9W7WfNS7tfb//zSgKgUjBVMFMwVLBSNTBSMDcy6gmLEBkGUGxBYA "APL (Dyalog Unicode) – Try It Online") or [Verify all testcases][TIO-knsf2iw5]- [Husk]: https://github.com/barbuz/Husk
- [TIO-knsf2iw5]: https://tio.run/##yygtzv6fe2i5tkaCtpLCo7ZJCkrFmhrFj5oaNf@fm314W7Dto54ux4yHO7qA6P///9GGOkY6pjpmOpY6RqY6RgbmOsYGQMoMiC1iAQ "Husk – Try It Online"
- returns number of divisors + 1 for true and 0 for false.
- # [Husk], 9 bytes
- ΛöS=⌊AhḊḊ
- [Try it online!](https://tio.run/##yygtzv7//9zsw9uCbR/1dDlmPNzRBUT///83BAA "Husk – Try It Online") or [Verify all testcases][TIO-knsf2iw5]
- [Husk]: https://github.com/barbuz/Husk
- [TIO-knsf2iw5]: https://tio.run/##yygtzv6fe2i5tkaCtpLCo7ZJCkrFmhrFj5oaNf@fm314W7Dto54ux4yHO7qA6P///9GGOkY6pjpmOpY6RqY6RgbmOsYGQMoMiC1iAQ "Husk – Try It Online"
- returns number of divisors + 1 for true and 0 for false.
#1: Initial revision
# [Husk], 9 bytes ΛöS=⌊AhḊḊ [Try it online!](https://tio.run/##SyzI0U2pTMzJT///qG@qp/@jtgkG/9OAZPWjjuX6Gga2hjXa@oe3P@pcpHlohWH6oRUGGulA2Ucdqx51LXrUseJR2@RHHTMe9W7WfNS7tfb//zSgKgUjBVMFMwVLBSNTBSMDcy6gmLEBkGUGxBYA "APL (Dyalog Unicode) – Try It Online") or [Verify all testcases][TIO-knsf2iw5] [Husk]: https://github.com/barbuz/Husk [TIO-knsf2iw5]: https://tio.run/##yygtzv6fe2i5tkaCtpLCo7ZJCkrFmhrFj5oaNf@fm314W7Dto54ux4yHO7qA6P///9GGOkY6pjpmOpY6RqY6RgbmOsYGQMoMiC1iAQ "Husk – Try It Online" returns number of divisors + 1 for true and 0 for false.