cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A007324 Least number for which Solovay-Strassen primality test on bases < prime(n) fails.

This page as a plain text file.
%I A007324 M5443 #17 Jun 04 2022 08:00:25
%S A007324 9,561,1729,1729,399001,399001,1857241,1857241,6189121,14469841,
%T A007324 14469841,14469841
%N A007324 Least number for which Solovay-Strassen primality test on bases < prime(n) fails.
%D A007324 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H A007324 Wikipedia, <a href="https://en.wikipedia.org/wiki/Solovay%E2%80%93Strassen_primality_test">Solovay-Strassen primality test</a>
%o A007324 (PARI) a(n) = my(b, p=factorback(primes(n-1))); forcomposite(k=9, oo, if(gcd(k, p)==1, b=2; while(Mod(b, k)^(k\2) == kronecker(b, k), b++); if(b>=prime(n), return(k)))); \\ _Jinyuan Wang_, Jun 04 2022
%Y A007324 Cf. A083876, A271221, A329726.
%K A007324 nonn,more
%O A007324 1,1
%A A007324 _N. J. A. Sloane_, Eric Bach (bach(AT)cs.wisc.edu)
%E A007324 Offset changed to 1 and a(1) corrected by _Jinyuan Wang_, Jun 04 2022