We have a sequence of numbers "5,2,1,0,1,-2,5,...."

Write a recursive function which returns the 6th number of this sequence.

I have done recursive functions like fibonacci or pow but not something simillar to this so if someone can point me in the right direction that would be awesome.