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!)
A076748 Smallest k such that k*n+1 is a base-2 pseudoprime. 1
340, 170, 368, 85, 68, 184, 80, 70, 154, 34, 126, 92, 252, 40, 180, 35, 20, 77, 230, 17, 66, 63, 28, 46, 108, 126, 64, 20, 474, 90, 66, 54, 42, 10, 16, 48, 896, 115, 84, 14, 2128, 33, 1224, 56, 60, 14, 60, 23, 216, 54, 156, 63, 160, 32, 120, 10, 180, 237, 17028, 45 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
pspQ[n_] := CompositeQ[n] && PowerMod[2, (n - 1), n] == 1; a[n_] := Module[{k=1}, While[!pspQ[k*n+1], k++]; k]; Array[a, 60] (* Amiram Eldar, Jun 28 2019 *)
CROSSREFS
Cf. A001567.
Sequence in context: A252447 A252441 A236896 * A306865 A205223 A238040
KEYWORD
nonn
AUTHOR
Jason Earls, Nov 12 2002
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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)