Skip to main content
added 9 characters in body
Source Link
138 Aspen
  • 6.6k
  • 1
  • 4
  • 13

Wolfram Language (Mathematica), 7777 71 bytes

Try it online!Try it online!

a@1=1
a@n_?PrimeQ:=1
a@n_:=Sum[a[d]*a[n/d],{d,Select[Divisors@n,2<=#<=n/#&]}]

Wolfram Language (Mathematica), 77 bytes

Try it online!

a@1=1
a@n_?PrimeQ:=1
a@n_:=Sum[a[d]*a[n/d],{d,Select[Divisors@n,2<=#<=n/#&]}]

Wolfram Language (Mathematica), 77 71 bytes

Try it online!

a@n_?PrimeQ:=1
a@n_:=Sum[a[d]*a[n/d],{d,Select[Divisors@n,2<=#<=n/#&]}]
Source Link
138 Aspen
  • 6.6k
  • 1
  • 4
  • 13

Wolfram Language (Mathematica), 77 bytes

Try it online!

a@1=1
a@n_?PrimeQ:=1
a@n_:=Sum[a[d]*a[n/d],{d,Select[Divisors@n,2<=#<=n/#&]}]