Skip to main content
added 101 characters in body
Source Link
ovs
  • 61.2k
  • 3
  • 49
  • 164

Wolfram Language (Mathematica), 4242 40 bytes

-2 bytes thanks to att!

If[Mean@Divisors@n∣nDo[Mean@Divisors@n∣n&&Print@n,Print@n]~Do~{n,∞}] 

Try it online!Try it online!

Wolfram Language (Mathematica), 42 bytes

If[Mean@Divisors@n∣n,Print@n]~Do~{n,∞} 

Try it online!

Wolfram Language (Mathematica), 42 40 bytes

-2 bytes thanks to att!

Do[Mean@Divisors@n∣n&&Print@n,{n,∞}] 

Try it online!

Source Link
ovs
  • 61.2k
  • 3
  • 49
  • 164

Wolfram Language (Mathematica), 42 bytes

If[Mean@Divisors@n∣n,Print@n]~Do~{n,∞} 

Try it online!