Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A051400
Smallest value of x such that M(x) = n, where M() is Mertens's function A002321.
12
1, 95, 218, 219, 221, 554, 586, 1357, 1389, 1393, 1403, 1405, 1418, 3227, 3233, 3235, 3239, 3241, 3242, 3277, 3281, 3293, 3295, 8201, 8413, 8418, 8489, 8490, 8491, 8503, 8506, 8507, 8509, 8510, 8511, 11759, 11761, 11762, 11769, 11770, 11771, 11773
OFFSET
1,2
PROG
(PARI) a(n) = {x = 0; while (sum(k=1, x, moebius(k)) != n, x++); x} \\ Michel Marcus, Sep 24 2013
(PARI) M(n)=sum(k=1, n, moebius(k));
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
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved