Bill Allombert on Mon, 05 Feb 2024 18:47:52 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: nonprime(n)
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Mon, 5 Feb 2024 18:47:48 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1707155269; c=relaxed/relaxed; bh=f72pUE2JHwKvssMoAR1sp+b+hWP7eR7COvt/4NcHZTU=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=ymTYt9K72nGl9qRpsuGKa3KtfpGPKu5BbgBXk9aXbAh1CjQ19M/6pZbxh3ffkQGAQb2WWF1fjhl/8aOhTeWLqNToHKcGBULH7HWbESDgXBvp+J6hwr1ccSEfByZUs3H+KJhaiCQ96g2pfcfRgTZJRH5t8WPyhwl4BsOlw0oWSKA3aYxfhCANN9NqeNaRrSUo2V4uqf760dXxCVbKIUEx2UvF7sVHq7MW7rJW01v71zoAWpwtFCnotLxMC3Yqzwo1FQTyDq7uwTkE5qqipgChjf4PCWYHfl+CfkZ+uRNMUmXpzle3eITdaDU4UlRT7zliQXLLuDpZ6kBHMExX9O7wEcI8N7Ki/AkKlhNBYICHQPFGTZrkQQL1umWLq8kPxOheFpFEchxjRDJ6FhkOGNPqg6RO4ZdDBgg0tqi81NZsrSlVk6A2mCueuTlvnyzlZH/g1J4CzvDP8buZyuFcwUU9eySZEsXJxxZK4ryV2MnZfsMfa4eV39mKG7ecBWyle1BrmK/ntkvcV4vx1Q0afcPkyhpN7GUmDLAIXMDdQ6qFxOanms0292HEGtkXfKy4OuVBhozJqcWt3FGDKzK41TGkX0EjyP02xlOzj8H7m6Dt3gImK3fETDcHUfraRs9VVlCLtKGKPdsqn4BT2PJ1PfWTDSXY1875hxlzJVqpkCFocno=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1707155269; cv=none; b=PyZoNzrHoBNLtND/q54q7yXRsXJvRiY+I5Bgd8ucD0VDGrqk0iqZWA7glJA2RMeMCOJCc9s7dQk3FpyBkBCFMmw+I709Jy+Hbx/DyWFqEykhQphWNTfdH3zKRWJ4YkidU247uS3ebAGERnHdHFcr3Jc33JnJnTG6cBwm4y1vsytkWd7+xWFc+DclEHwcS8h1vrV7PHw/6FCKSaImoZkmPtYD6KfLDaAAHWwMisEGmvP7fIP5t9rNChCCTzPHAaAg1VzCINy7OYooWU93uPo1aOfgta5T4xtsEg6k1YnCOzcV15J+eFCy+3HlhvFSY1cpDNck4f+/4KDIlGax0jc7O7K1+UjK5IUnK26+86ktCDNGc+75X9eU3m5U0LVow2rezJabXb2Ljear3GB5zJLNCq8CvMNthBjdDuZdibJ3q5VAB1XJwdCcuNiWxS4AMGjLHvmPztOFQrg6C4Ey5IP9ZcUai4tSlJmRSFXP0eT01C1PwiNV9ZsWPE5b49wKOxMMnhB0iaI20xl/7myW8RZHg80k+2XZtDR4GsgRO8B4/BBv3Sl09zXspBLeuw5sjIUzhkZT4HMau9em+OZlsYa2dzVVEOaPqnuU0LEwprpqgHQXjYv51O07BwsB2tNt6eIrFDVSoSGS6xr9kFRxJmOqee82VfW++CJjNhH7aokm4Tk=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Mon, 05 Feb 2024 18:47:52 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1707155269; bh=f72pUE2JHwKvssMoAR1sp+b+hWP7eR7COvt/4NcHZTU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=ZC4AkSMs/QYuxaK459STYm94KJz+EHTknvld4zBmYDRT3/UfgYbhs6vvUdo6802i5 xqaidVOX5VJOVogxdKxWwwIv6/vr+FG/0JmLMAQg/nZINDtsxyKhGuXJwa3UdvMRVQ SmD1oM9cGaSbtjKHj6CmjEjOuVUaoYe4X2dh26tDqwTVUwewhHVF3aFK3h2U7CF0p8 jO7dlwgVPmNJxogD6O5otT2SGlbAayQC3KCSeByKGiGePk1+f8rZBmgddqjRchxe55 /Pm9dQag0zjpylCxrH6+NIszbWuV6e1zQyAbGkoGYhn9azUhiee9JexuPU9tUGgqf2 x6HcqKeCAQKIOrZgPaefDMu3PpCoMrJ+ru0NXJ792nMA1WmwOW0Dt34YftXpJ5Uj17 icRUGkIU38JYI/xqtpy7+5bZwR/P7MZqDFoY61SA9ZSFcOicHuMY5Rxk/gax2Tj6fO H4g/TIwjnsILKKKgb+Sj69nZHQrbjo8SBupDmbQvMATyPM337sXKeadjwVnRVKvaHq 9UQRqpZxDBpkuDAPGRHm8O6yO4SqYpwOYPo4Ub0HxynsA5oZxmf6S9xj6qk9saJ49A HYfKTTEnTFYG99A8XjCDQe9ezrQB5OvH1/Apu5A6/83SGpyJdYn39oK7P2Qqr1LOj5 QmfztuET6dS/+Edo2Q9hlyIc=
- In-reply-to: <ca71cdf7-c294-42b0-985c-6044b9ff57c5@filmsons.com>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <cf9ba63c-87cc-4d0a-aded-8ac6ddb01c03@isolution.nl> <ca71cdf7-c294-42b0-985c-6044b9ff57c5@filmsons.com>
On Mon, Feb 05, 2024 at 06:41:35PM +0100, Jean-Luc Arnaud wrote:
> Le 03/02/2024 à 18:33, Ruud H.G. van Tol a écrit :
> > for(n=1,2^18, prime(n));
>
> Hi Ruud,
>
> What kind of PC or Mac Monster do you own, which is able to calculate:
>
> ? for(n=1,2^18, prime(n));
> cpu time = 1,516 ms, real time = 1,521 ms.
>
> in 1.5 s, where my iMac does it in ... close to 4min? 😭😭
>
> cpu time = 3min, 38,881 ms, real time = 3min, 56,939 ms.
The trick is to start GP with -p257M so you already have the
prime number availabkle
%gp -q -p 257M
? for(n=1,2^18, prime(n));
? ##
*** last result: cpu time 1,198 ms, real time 1,198 ms.
Cheers,
Bill.