OFFSET
1,1
COMMENTS
Every integer except 1 has an even number of bi-unitary divisors.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..62
EXAMPLE
a(1) = 2 since 2 is the least number with 2*1 = 2 bi-unitary divisors, 1 and 2.
a(2) = 6 since 6 is the least number with 2*2 = 4 bi-unitary divisors, 1, 2, 3 and 6.
MATHEMATICA
f[p_, e_] := If[OddQ[e], e + 1, e]; d[1] = 1; d[n_] := Times @@ (f @@@ FactorInteger[n]); max = 10; s = Table[0, {max}]; c = 0; n = 2; While[c < max, i = d[n]/2; If[i <= max && s[[i]] == 0, c++; s[[i]] = n]; n++]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Jan 01 2021
STATUS
approved