Karim Belabas on Fri, 20 Feb 2015 09:56:07 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: moebius function


* Chris De Corte [2015-02-20 04:21]:
> I am doing tests on the moebius.It went well for a few days until
> tonight when It gave an error.A printscreen is attached.What is the
> problem?

Something went wrong during a factorization (while trying to rename a file
in the MPQS factorizer).

This is a recurrent problem on Windows, that we tried to fix a few
times; pari-2.5.5 is old now (codebase from 2011 or so), try to update
to 2.7.3 !

> Is the m on the screen reliable?

No, the computation was stopped before completion.

You should have typed 'x' while still in the debugger (break loop),
*before typing 'break' to see up to which value the sum had run.

N.B. sum(x=1,n, moebius(x)) is a simpler form for the same computation.

Cheers,

    K.B.
--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux         Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`