Skip to main content
added 89 characters in body
Source Link
Aaroneous Miller
  • 9.9k
  • 1
  • 26
  • 40

Red, 38 2626 37 bytes

Thanks to @9214 for telling me about the loop command for -12 bytes.

+11 bytes to fix invalidities brought out by @Bubbler.

xfunc[a b][x: a loop b - 1[x: a ** x]x]] 

Try it online!Try it online!

Red, 38 26 bytes

Thanks to @9214 for telling me about the loop command for -12 bytes.

x: a loop b - 1[x: a ** x] 

Try it online!

Red, 38 26 37 bytes

Thanks to @9214 for telling me about the loop command for -12 bytes.

+11 bytes to fix invalidities brought out by @Bubbler.

func[a b][x: a loop b - 1[x: a ** x]] 

Try it online!

added 68 characters in body
Source Link
Aaroneous Miller
  • 9.9k
  • 1
  • 26
  • 40

Red, 3838 26 bytes

Thanks to @9214 for telling me about the loop command for -12 bytes.

x: a while[bloop >b 1][x- 1[x: a ** x b: b - 1]xx] 

Try it online!Try it online!

Red, 38 bytes

x: a while[b > 1][x: a ** x b: b - 1]x 

Try it online!

Red, 38 26 bytes

Thanks to @9214 for telling me about the loop command for -12 bytes.

x: a loop b - 1[x: a ** x] 

Try it online!

Source Link
Aaroneous Miller
  • 9.9k
  • 1
  • 26
  • 40

Red, 38 bytes

x: a while[b > 1][x: a ** x b: b - 1]x 

Try it online!