login
Smallest value of x such that M(x) = n, where M() is Mertens's function A002321.
12

%I #22 Mar 18 2017 22:03:19

%S 1,95,218,219,221,554,586,1357,1389,1393,1403,1405,1418,3227,3233,

%T 3235,3239,3241,3242,3277,3281,3293,3295,8201,8413,8418,8489,8490,

%U 8491,8503,8506,8507,8509,8510,8511,11759,11761,11762,11769,11770,11771,11773

%N Smallest value of x such that M(x) = n, where M() is Mertens's function A002321.

%H T. D. Noe, <a href="/A051400/b051400.txt">Table of n, a(n) for n = 1..1000</a>

%o (PARI) a(n) = {x = 0; while (sum(k=1,x,moebius(k)) != n, x++); x} \\ _Michel Marcus_, Sep 24 2013

%o (PARI) M(n)=sum(k=1,n,moebius(k));

%o print1(1,", "); c=M(1); n=2; while(n<10^4,if(M(n)>c,print1(n,", "); c=M(n)); n++) \\ _Derek Orr_, Jun 14 2016

%Y Cf. A002321, A051401, A051402.

%K nonn

%O 1,2

%A _Jud McCranie_