OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
For n=2, a(2)=2 is a term as the number of odd divisors of 2 is 1, which is coprime to 2.
MATHEMATICA
Select[Range@200, CoprimeQ[#, Length@Select[Divisors[#], OddQ]]&]
PROG
(PARI) for(n=1, 200, gcd(n, sumdivmult(n, d, d%2))==1&&print1(n, ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Waldemar Puszkarz, Mar 06 2016
STATUS
approved