OFFSET
1,1
COMMENTS
First differs from A378489 (the intersection of A000028 and A028260) by the inclusion of 72. - Peter Munn, Jul 13 2024
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
54 is in this sequence because its prime decomposition is 2^1 * 3^3, it is not squarefree and the binary digits of "1" and "3" add up to 3, an odd number.
MATHEMATICA
iMoebiusMu[ n_ ] := Switch[ MoebiusMu[ n ], 1, 1, -1, -1, 0, If[ OddQ[ Plus@@(DigitCount[ Last[ Transpose[ FactorInteger[ n ] ] ], 2, 1 ]) ], -1, 1 ] ]; Select[ Range[ 400 ], MoebiusMu[ # ]===0 && iMoebiusMu[ # ]===-1 & ]
PROG
(PARI) is(n)=my(f=factor(n)[, 2]); #f && vecmax(f)>1 && vecsum(apply(hammingweight, f))%2 \\ Charles R Greathouse IV, Oct 15 2015
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
Wouter Meeussen, Dec 27 2001
STATUS
approved