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!)
A020168 Pseudoprimes to base 40. 1
39, 91, 121, 123, 289, 451, 533, 561, 703, 793, 1541, 1561, 1599, 1729, 1921, 2821, 2899, 3097, 3367, 3751, 3829, 4961, 5461, 5729, 6031, 6601, 7111, 7201, 7381, 8911, 9073, 9881, 10897, 11011, 11041, 11121, 11521, 12403, 12801, 13073, 13333, 13981 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Composite numbers n such that 40^(n - 1) == 1 (mod n). - Michel Lagneau, Feb 18 2012
LINKS
MATHEMATICA
base = 40; pp40 = {}; n = 1; While[Length[pp40] < 100, n++; If[!PrimeQ[n] && PowerMod[base, n - 1, n] == 1, AppendTo[pp40, n]]]; pp40 (* T. D. Noe, Feb 21 2012 *)
searchMax = 10000; Complement[Select[Range[searchMax], PowerMod[40, # - 1, #] == 1 &], Prime[Range[PrimePi[searchMax]]]] (* Alonso del Arte, Feb 20 2020 *)
CROSSREFS
Cf. A001567 (pseudoprimes to base 2).
Sequence in context: A044177 A044558 A242181 * A063318 A039422 A043245
KEYWORD
nonn
AUTHOR
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 April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)