OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
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
KEYWORD
nonn,less
AUTHOR
Juri-Stepan Gerasimov, Dec 02 2010
EXTENSIONS
More terms from Michel Marcus, Sep 11 2013
STATUS
approved