OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..37
EXAMPLE
a(6)=201 because the first occurrence of 6 consecutive squarefree numbers with numbers of prime divisors having the same parity is 201, 202, 203, 205, 206, 209.
MATHEMATICA
f[n_] := Module[{c = 0, m = MoebiusMu[n]}, If[m == 0, Return[0]]; nn = n; mm = m; While[mm == 0 || mm == m, If[mm != 0, c++]; nn++; mm = MoebiusMu[nn]]; c]; mx = 19; v = Table[0, {mx}]; count = 0; Do[f1 = f[n]; Do[If[v[[j]] == 0, v[[j]] = n; count++], {j, 1, f1}]; If[count == mx, Break[]], {n, 1, 10^6}]; v (* Amiram Eldar, Aug 30 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Balazard (balazard(AT)math.u-bordeaux1.fr), Oct 17 2007, Oct 19 2007
EXTENSIONS
More terms from Amiram Eldar, Aug 30 2019
STATUS
approved