OFFSET
1,2
COMMENTS
Superset of A007774. - R. J. Mathar, Oct 23 2008
A076479(a(n)) = +1. - Reinhard Zumkeller, Jun 01 2013
Union of the rows of A125666 with even indices. - R. J. Mathar, Jul 19 2023
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
H. Helfgott and A. Ubis, Primos, paridad y análisis, arXiv:1812.08707 [math.NT], Dec. 2018.
FORMULA
From Benoit Cloitre, Dec 08 2002: (Start)
k such that Sum_{d|k} mu(d)*A000005(d) = (-1)^omega(k) = +1 where mu(d)=A008683(d), and omega(d)=A001221(d).
k such that A023900(k) > 0. (End)
MATHEMATICA
Select[Range[200], EvenQ[PrimeNu[#]]&] (* Harvey P. Dale, Jun 22 2011 *)
PROG
(PARI) j=[]; for(n=1, 200, x=omega(n); if(Mod(x, 2)==0, j=concat(j, n))); j
(PARI) is(n)=omega(n)%2==0 \\ Charles R Greathouse IV, Sep 14 2015
(Haskell)
a030231 n = a030231_list !! (n-1)
a030231_list = filter (even . a001221) [1..]
-- Reinhard Zumkeller, Mar 26 2013
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
EXTENSIONS
Corrected by Dan Pritikin (pritikd(AT)muohio.edu), May 29 2002
STATUS
approved