2 added 215 characters in body
source | link

05AB1E, 75 bytes

DxŸ¦ʒp}xŸ¦ʒp

Try it online!Try it online!

Explanation

xŸ¦ʒp  Full Program
x      double top of stack
 Ÿ     inclusive range
  ¦    remove first element (pop a: push a[1:])
   ʒ   filter to keep
    p  prime elements

-1 byte thanks to Mr. Xcoder

05AB1E, 7 bytes

DxŸ¦ʒp}

Try it online!

05AB1E, 5 bytes

xŸ¦ʒp

Try it online!

Explanation

xŸ¦ʒp  Full Program
x      double top of stack
 Ÿ     inclusive range
  ¦    remove first element (pop a: push a[1:])
   ʒ   filter to keep
    p  prime elements

-1 byte thanks to Mr. Xcoder

1
source | link

05AB1E, 7 bytes

DxŸ¦ʒp}

Try it online!