OFFSET
1,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(5) = 5th semiprime mod 5 = 14 mod 5 = 4.
MATHEMATICA
Module[{nn=400, sp}, sp=Select[Range[nn], PrimeOmega[#]==2&]; Mod[#[[1]], #[[2]]]&/@ Thread[{sp, Range[Length[sp]]}]] (* Harvey P. Dale, Jun 13 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Shyam Sunder Gupta, May 07 2005
STATUS
approved