(a) We first check for absolute convergence:

|(1)n1+1n|11+1nn11+0=10

This fails the SDT, so the series diverges!


(b) Notice that cosnπ=(1)n1. Check for absolute convergence:

|cosnπn3+1|1n3+1

Then:

1n3+1<1n3

Since 1n3 converges (p=3>1), the DCT says that 1n3+1 converges. So the original series converges absolutely and we are done.