a(n) is the smallest number k such that Sum_{j=1..k} (-1)^omega(j) = -n, where omega(j) is the number of distinct primes dividing j.

A346456

a(n) is the smallest number k such that Sum_{j=1..k} (-1)^omega(j) = -n, where omega(j) is the number of distinct primes dividing j.

Terms

    a(0) =3a(1) =4a(2) =5a(3) =8a(4) =9a(5) =32a(6) =9283a(7) =9284a(8) =9285a(9) =9292a(10) =9293a(11) =9294a(12) =9295a(13) =9296a(14) =9343a(15) =9434a(16) =9437a(17) =9440a(18) =9479a(19) =9686a(20) =9689a(21) =9690a(22) =9697a(23) =9698a(24) =9699a(25) =9700a(26) =9711a(27) =9716a(28) =9717a(29) =9718

External references