Max Alekseyev on Sat, 21 May 2011 16:47:00 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
numdiv() does not take advantage of addprimes()
|
- To: pari-users <pari-users@list.cr.yp.to>
- Subject: numdiv() does not take advantage of addprimes()
- From: Max Alekseyev <maxale@gmail.com>
- Date: Sat, 21 May 2011 18:45:09 +0400
- Delivery-date: Sat, 21 May 2011 16:47:00 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=B8lKTMLNSV57OEK/OgSrU2aI4AIuuOUX3kva3799Ilg=; b=pKMZhFkXMb0MyE53CpS2OP55+ciQuMJoYPgLFn+RWpYyFWTSVcsuOJ6nX1t5lItfv5 NuXnwVgu6ol2aOgheMVlSnHRb3wTy3Du7otjvLi8A4JuJobm61yTlLv/E3dyW5maONQC POzY8PD/OnJB6VwxT11qBq6DOQPGP+fpydmn4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DjhfuEWI10D9yrg0qziTrg7jmz3ech5HFrZeVYnPAb77jq1i+3hw91Sy6Gt2De1kmS zr27FPuWV5e9+nWrbAnGYvpzWy5/nrMpOpN8TXHefm5saT7o3VrdbUXv2vf9mJ9uMeiM hVa/ytMvyKHnnygagmSj6aH625zqXcw6hgy2A=
- Mailing-list: contact pari-users-help@list.cr.yp.to; run by ezmlm
numdiv() somehow does not take advantage of addprimes() - see example below.
Is that intended?
Max
? addprimes([505471005740691524853293621])
%1 = [505471005740691524853293621]
? factor(fibonacci(277))
%2 =
[505471005740691524853293621 1]
[6861121308187330908986328104917 1]
? ##
*** last result computed in 0 ms.
? numdiv(fibonacci(277))
%3 = 4
? ##
*** last result computed in 12,210 ms.