A173632 a(n)=sqrt((A173631(n))^2-4*P_n), where P_n is product of first n primes, if this value is integral and a(n)=0, otherwise.
0, 1, 1, 1, 1, 13, 17, 1, 41, 157, 0, 0, 0, 0, 17659, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0
Keywords
Programs
-
Mathematica
p=4; Join[{0}, Table[p=p*Prime[n]; q=Sqrt[Ceiling[Sqrt[p]]^2-p]; If[IntegerQ[q], q, 0], {n, 200}]]
Extensions
Extended by T. D. Noe, Nov 23 2010
Comments