login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A133295 Smallest squarefree k such that the first n nonzero values of mu(j), j>=k, are all equal (mu is the Moebius function). 1

%I #10 Aug 30 2019 08:13:28

%S 1,2,2,91,97,201,201,598,2683,2683,2683,3090,3090,38401,38401,41226,

%T 293037,293037,294574,2156849,4819826,8812154,10309514,10309514,

%U 10309514,39479386,476531349,768912879,1654065545,5332819918,8974545041,16907435569,17785220641

%N Smallest squarefree k such that the first n nonzero values of mu(j), j>=k, are all equal (mu is the Moebius function).

%H Amiram Eldar, <a href="/A133295/b133295.txt">Table of n, a(n) for n = 1..37</a>

%e 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.

%t 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 *)

%Y Cf. A005117, A008683.

%K nonn

%O 1,2

%A Michel Balazard (balazard(AT)math.u-bordeaux1.fr), Oct 17 2007, Oct 19 2007

%E More terms from _Amiram Eldar_, Aug 30 2019

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 03:28 EDT 2024. Contains 371696 sequences. (Running on oeis4.)