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 24 characters in body
Source Link
rak1507
  • 4.7k
  • 12
  • 16

APL (Dyalog Extended), 12(削除) 12 (削除ここまで) 11 bytes

-1 thanks to Adám

×ばつ.*⍨ ̄2⍭ ̈⍳∘≢*⍨ ̄2⍭⍳∘≢
×ばつ.*⍨ ̄2⍭ ̈⍳∘≢*⍨ ̄2⍭⍳∘≢
  ̄2⍭ ̈⍳∘≢ ̄2⍭⍳∘≢ ⍝ the first n primes×ばつ.*⍨ ⍝ powers and product

Try it online! Try it online!

APL (Dyalog Extended), 12 bytes

×ばつ.*⍨ ̄2⍭ ̈⍳∘≢
×ばつ.*⍨ ̄2⍭ ̈⍳∘≢
  ̄2⍭ ̈⍳∘≢ ⍝ the first n primes×ばつ.*⍨ ⍝ powers and product

Try it online!

APL (Dyalog Extended), (削除) 12 (削除ここまで) 11 bytes

-1 thanks to Adám

×ばつ.*⍨ ̄2⍭⍳∘≢
×ばつ.*⍨ ̄2⍭⍳∘≢
  ̄2⍭⍳∘≢ ⍝ the first n primes×ばつ.*⍨ ⍝ powers and product

Try it online!

Source Link
rak1507
  • 4.7k
  • 12
  • 16

APL (Dyalog Extended), 12 bytes

×ばつ.*⍨ ̄2⍭ ̈⍳∘≢
×ばつ.*⍨ ̄2⍭ ̈⍳∘≢
 ̄2⍭ ̈⍳∘≢ ⍝ the first n primes×ばつ.*⍨ ⍝ powers and product

Try it online!

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