48.1k views
1 vote
My teacher assigned this to me and its too hard

My teacher assigned this to me and its too hard-example-1

1 Answer

4 votes
N=1: 4
N=2: 1
N=3: 10
N=4: 2
N=5: 16
N=6: 3
N=7: 22
N=8: 4
N=9: 28
N=10: 5

I went ahead and did up to 10 for you. The way you do this is by simply plugging the number in where n is, if n is even you put it in the first one but if it’s odd put it in the second one
User Tom Hemmes
by
5.8k points