login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007324 Least number for which Solovay-Strassen primality test on bases < prime(n) fails.
(Formerly M5443)
3
9, 561, 1729, 1729, 399001, 399001, 1857241, 1857241, 6189121, 14469841, 14469841, 14469841 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

REFERENCES

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

Table of n, a(n) for n=1..12.

Wikipedia, Solovay-Strassen primality test

PROG

(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

CROSSREFS

Cf. A083876, A271221, A329726.

Sequence in context: A317347 A267548 A326614 * A354692 A347844 A291910

Adjacent sequences:  A007321 A007322 A007323 * A007325 A007326 A007327

KEYWORD

nonn,more

AUTHOR

N. J. A. Sloane, Eric Bach (bach(AT)cs.wisc.edu)

EXTENSIONS

Offset changed to 1 and a(1) corrected by Jinyuan Wang, Jun 04 2022

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 26 22:36 EDT 2022. Contains 354885 sequences. (Running on oeis4.)