login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
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,6
COMMENTS
a(14) appears to be the last nonzero term.
MATHEMATICA
p=4; Join[{0}, Table[p=p*Prime[n]; q=Sqrt[Ceiling[Sqrt[p]]^2-p]; If[IntegerQ[q], q, 0], {n, 200}]]
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Vladimir Shevelev, Nov 23 2010
EXTENSIONS
Extended by T. D. Noe, Nov 23 2010
STATUS
approved