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”).
%I #9 Oct 11 2019 18:28:06
%S 4,14,194,37634,95799,119121,66179,53645,122218,126220,70490,69559,
%T 99585,78221,130559,0
%N Residues of the Lucas - Lehmer primality test for M(17) = 131071.
%C Since a(15) = 0, M(17) = 131071 is prime.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Lucas-LehmerTest.html">Lucas Lehmer Test</a>.
%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Lucas-Lehmer_primality_test">Lucas Lehmer Primality Test</a>.
%F a(0) = 4, a(n) = a(n-1)^2 mod 2^p-1. Last term: a(p-2).
%e a(15) = 130559^2 - 2 mod 131071 = 0.
%Y Cf. A095847, A003010, A129219, A129220, A129221, A129223, A129224, A129225, A129226, A001348.
%K fini,full,nonn
%O 0,1
%A _Sergio Pimentel_, Apr 04 2007