Reverse your code, reverse the OEIS
05AB1E, 9 4 bytes (A000040 and A040000)

Ø=&gt;≠


Try it online!

!enilno ti yrT

Explanation:

Ø          # nth prime
 =         # output
  &gt;≠       # ignored


:noitanalpxE

≠          # boolean negation (0 if n == 1, 1 otherwise)
 &gt;         # increment
  =        # output
   Ø       # ignored