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!)
A175131 2^(n-1) mod semiprime(n). 2
1, 2, 4, 8, 2, 2, 1, 18, 6, 18, 1, 8, 1, 22, 4, 16, 23, 2, 14, 2, 52, 2, 49, 2, 10, 65, 64, 8, 44, 2, 64, 2, 42, 12, 62, 56, 31, 98, 81, 50, 74, 2, 1, 128, 96, 71, 60, 7, 81, 16, 94, 146, 1, 144, 108, 154, 133, 4, 46, 153, 67, 44, 88, 90, 198, 32, 14, 117 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Module[{nn=300, sems, len}, sems=Select[Range[nn], PrimeOmega[#]==2&]; len = Length[sems]; PowerMod[2, #[[1]]-1, #[[2]]]&/@Thread[{Range[len], sems}]] (* Harvey P. Dale, May 19 2018 *)
PROG
(PARI) lista(nn) = {semip = select(n->bigomega(n) == 2, vector(nn, i, i)); for (i=1, #semip, print1(2^(i-1) % semip[i], ", "); ); } \\ Michel Marcus, Sep 11 2013
CROSSREFS
Sequence in context: A197282 A215452 A362985 * A033921 A167420 A195711
KEYWORD
nonn,less
AUTHOR
EXTENSIONS
More terms from Michel Marcus, Sep 11 2013
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)