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 Answer

added 111 characters in body
Source Link
lyxal
  • 35.6k
  • 2
  • 69
  • 148

05AB1E, 6 bytes

ā<ØsmP

Try it online!

In other words:

P sm Ø ā <
product(exponate(nth_prime_number(range(1, len(input())) - 1), input()))

05AB1E, 6 bytes

ā<ØsmP

Try it online!

05AB1E, 6 bytes

ā<ØsmP

Try it online!

In other words:

P sm Ø ā <
product(exponate(nth_prime_number(range(1, len(input())) - 1), input()))
Source Link
lyxal
  • 35.6k
  • 2
  • 69
  • 148

05AB1E, 6 bytes

ā<ØsmP

Try it online!

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