here is a table showing values of sequence p. define p recursively using function notation
n p(n)
1 5000
2 500
3 50
4 5
5 0.5