Skip to main content
added 124 characters in body
Source Link
alephalpha
  • 50k
  • 7
  • 68
  • 182

Jelly, 44 3 bytes

-1 byte thanks to Unrelated String.

D⁸€ḌṁDḌ

Try it online!Try it online!

A port of my PARI/GP answer.

 D     # To digits
 ⁸€     # Fill with the input
     # From digits

Jelly, 4 bytes

D⁸€Ḍ

Try it online!

A port of my PARI/GP answer.

D     # To digits
 ⁸€   # Fill with the input
   Ḍ  # From digits

Jelly, 4 3 bytes

-1 byte thanks to Unrelated String.

ṁDḌ

Try it online!

A port of my PARI/GP answer.

 D     # To digits
      # Fill with the input
  Ḍ    # From digits
Source Link
alephalpha
  • 50k
  • 7
  • 68
  • 182

Jelly, 4 bytes

D⁸€Ḍ

Try it online!

A port of my PARI/GP answer.

D     # To digits
 ⁸€   # Fill with the input
   Ḍ  # From digits