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!)
A020152 Pseudoprimes to base 24. 1

%I #20 Jun 30 2023 12:48:56

%S 25,115,175,325,553,575,805,949,1105,1541,1729,1771,1825,1975,2413,

%T 2425,2465,2701,2737,2821,2885,3781,4207,4537,6601,6931,6943,7081,

%U 7189,7471,7501,7813,8725,8911,9085,9361,9809,10465,10585,11557,12025,13825,14425

%N Pseudoprimes to base 24.

%C Composite numbers n such that 24^(n-1) == 1 (mod n). - _Michel Lagneau_, Feb 18 2012

%H T. D. Noe, <a href="/A020152/b020152.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Ps#pseudoprimes">Index entries for sequences related to pseudoprimes</a>

%t base = 24; t = {}; n = 1; While[Length[t] < 100, n++; If[! PrimeQ[n] && PowerMod[base, n-1, n] == 1, AppendTo[t, n]]]; t (* _T. D. Noe_, Feb 21 2012 *)

%t Select[Range[15000],CompositeQ[#]&&PowerMod[24,#-1,#]==1&] (* _Harvey P. Dale_, Jun 30 2023 *)

%Y Cf. A001567 (pseudoprimes to base 2).

%K nonn

%O 1,1

%A _David W. Wilson_

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 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)