Skip to main content
added 334 characters in body
Source Link

Jelly, 8 bytes

1DS=ÆdƲ# 

Try it online!

Takes \$n\$ on STDIN, and outputs the first \$n\$ values.

How it works

1DS=ÆdƲ# - Main link. Takes no arguments Ʋ - Group the previous 4 links into a monad f(k): D - Digits of k S - Sum Æd - Divisor count of k = - Are they equal? 1 # - Read n from STDIN and find the first n k≥1 such that f(k) is true 

Jelly, 8 bytes

1DS=ÆdƲ# 

Try it online!

Takes \$n\$ on STDIN, and outputs the first \$n\$ values.

Jelly, 8 bytes

1DS=ÆdƲ# 

Try it online!

Takes \$n\$ on STDIN, and outputs the first \$n\$ values.

How it works

1DS=ÆdƲ# - Main link. Takes no arguments Ʋ - Group the previous 4 links into a monad f(k): D - Digits of k S - Sum Æd - Divisor count of k = - Are they equal? 1 # - Read n from STDIN and find the first n k≥1 such that f(k) is true 
Source Link

Jelly, 8 bytes

1DS=ÆdƲ# 

Try it online!

Takes \$n\$ on STDIN, and outputs the first \$n\$ values.