已知n为正整数,且n^4+16n^2+100是个素数,求n的值.