Skip to main content
2 of 3
[Edit removed during grace period]
mabel
  • 1.6k
  • 13
  • 18

Python 3, 40 bytes

lambda n:~-n*12-[*[-1,3,3,1][n-1:],0][0]

Try it online!

Not shorter than Noodle9's answer but I thought this index out of range default might be useful to people.

mabel
  • 1.6k
  • 13
  • 18