OFFSET
1,3
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..10000
MATHEMATICA
Array[# + (om = PrimeNu[#]) * (-1)^om &, 67] (* Amiram Eldar, Nov 23 2019 *)
PROG
(PARI) a(n) = my(om=omega(n)); n + (-1)^om*om; \\ Michel Marcus, Nov 20 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Lars Blomberg, Nov 20 2019
STATUS
approved