Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

1 of 2
Dominic van Essen
  • 37.2k
  • 2
  • 24
  • 61

Husk, 9 bytes

fo§¦ṁ\LḊN

Try it online! (header outputs the first few elements to avoid timing-out)

 N # from the infinite list of integers
fo # output those for which
 ṁ\ # the sum of the reciprocals of their divisors
 §¦ # exactly divides
 LḊ # the length (number) of their divisors
```
Dominic van Essen
  • 37.2k
  • 2
  • 24
  • 61

AltStyle によって変換されたページ (->オリジナル) /