Skip to main content
deleted 36 characters in body
Source Link
DialFrost
  • 5.1k
  • 2
  • 13
  • 54

Vyxal, 8 66 4 bytes

ƛS*;∑fƛẋ;f

Try it Online!Try it Online!

ExplaindeExplained

ƛS*;∑fƛẋ;f
ƛ      # mapping lambda
 S     # stringify
  *    # timesRepeat
   ;   # end lambda
    ∑  # sum
     f # flatten

Vyxal, 8 6 bytes

ƛS*;∑f

Try it Online!

Explainde

ƛS*;∑f
ƛ      # mapping lambda
 S     # stringify
  *    # times
   ;   # end lambda
    ∑  # sum
     f # flatten

Vyxal, 8 6 4 bytes

ƛẋ;f

Try it Online!

Explained

ƛẋ;f
ƛ    # mapping lambda
    # Repeat
  ;  # end lambda
   f # flatten
deleted 32 characters in body
Source Link
DialFrost
  • 5.1k
  • 2
  • 13
  • 54

Vyxal, 88 6 bytes

r5ƛS*;∑fƛS*;∑f

Try it Online!Try it Online!

ExplainedExplainde

r5ƛS*;∑f
r5       # range 1-5ƛS*;∑f
  ƛ      # mapping lambda
   S     # stringify
    *    # times
     ;   # end lambda
      ∑f # sum 
 and then   f # flatten

Vyxal, 8 bytes

r5ƛS*;∑f

Try it Online!

Explained

r5ƛS*;∑f
r5       # range 1-5
  ƛ      # mapping lambda
   S     # stringify
    *    # times
     ;   # end lambda
      ∑f # sum and then flatten

Vyxal, 8 6 bytes

ƛS*;∑f

Try it Online!

Explainde

ƛS*;∑f
ƛ      # mapping lambda
 S     # stringify
  *    # times
   ;   # end lambda
      # sum 
     f # flatten
Source Link
DialFrost
  • 5.1k
  • 2
  • 13
  • 54

Vyxal, 8 bytes

r5ƛS*;∑f

Try it Online!

Explained

r5ƛS*;∑f
r5       # range 1-5
  ƛ      # mapping lambda
   S     # stringify
    *    # times
     ;   # end lambda
      ∑f # sum and then flatten