OFFSET
1,6
EXAMPLE
n=6: prime(6)=13 and 13 mod (2*2) = 1, 13 mod (2*3) = 1, 13 mod(2*5) = 3, 13 mod (2*7) = 13, therefore a(6)=2.
MATHEMATICA
Table[PrimeNu[Floor[Prime[n]/2]], {n, 105}] (* Jon Maiga, Jan 06 2019 *)
PROG
(PARI) a(n) = omega(prime(n)\2); \\ Michel Marcus, Jan 06 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jan 19 2003
STATUS
approved