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

2 of 2
added 22 characters in body
Jitse
  • 8.1k
  • 3
  • 21
  • 45

Python 3, 79 bytes

n=0
while 1:n+=1;a=[i for i in range(1,n+1)if n%i<1];n*len(a)%sum(a)or print(n)

Try it online!

Outputs indefinitely.

Jitse
  • 8.1k
  • 3
  • 21
  • 45

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