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!)
A090097 Bases n such that the smallest prime-power-pseudoprime to base n is 9. 3

%I #15 Sep 09 2019 11:58:04

%S 8,10,19,26,28,35,44,46,55,62,64,71,80,82,91,98,100,107,116,118,127,

%T 134,136,143,152,154,163,170,172,179,188,190,199,206,208,215,224,226,

%U 235,242,244,251,260,262,271,278,280,287,296,298,307,314,316,323,332,334

%N Bases n such that the smallest prime-power-pseudoprime to base n is 9.

%C Values of x such that A090096(x) = 9.

%H Amiram Eldar, <a href="/A090097/b090097.txt">Table of n, a(n) for n = 1..10000</a>

%t pspQ[n_,b_] := CompositeQ[n] && PowerMod[b, n - 1,n ] == 1 ; aQ[n_]:=pspQ[9, n] && AllTrue[{4,8}, !pspQ[#, n] &]; Select[Range[1000], aQ] (* _Amiram Eldar_, Sep 09 2019 *)

%Y Cf. A007535, A090086, A090096.

%K nonn

%O 1,1

%A _Labos Elemer_, Dec 01 2003

%E More terms from _Amiram Eldar_, Sep 09 2019

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