Bill Allombert on Mon, 08 Jul 2024 14:51:33 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Are there known false positives for GP ispseudoprime() ?
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Are there known false positives for GP ispseudoprime() ?
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Mon, 8 Jul 2024 14:46:29 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1720443089; c=relaxed/relaxed; bh=lsdXw4/5Dzl7ebZMrMdX8QoQt8UB/WjDXZ5XY9AQUc8=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=ZoiHfNKwElE8mB7yWR9hZWd133r7m+Ap5Yyb6W7Vkkd1hzdyPIAL8prp26OuAFCE+Evk1bSdHWCU3UF1GCP9/Th0yHFXpjkdSY9mTbjgM4uBpvF8iMgLS2aJMYQt1PupBc/S+fiwIzoc9H+9HO8axu0QUBnRGDLakZ5o4h/wBRtesF1MX2xm8HXQq88HdzCJHcnnbKy7nQBhLgiXHVv4Tw4/ZLk4s3bVhDrgkn8aHN9f648JYks+A31qUwvOoKXCxm1Qx+ImwMx7NBb0cH12T1E9dp3ic23ch4XouOcKwHhfkGnTZfHURIONyRCrEjCy3MKS42yzxWpqXtwaL2GNzQx1pEbAnD0WpOvt3KdGaq70vVVsrKggqfBllM868Iqn7wnXCfKjtGwh/z3bee8FNXk0IddKAciMgZsoRjespqEv2uMdgFW6dbIY+mW9QYVke7JOnX3nA6/A6EAjWrclINNKRcUpuZ6zc+cLIUOVn8ahHQWV8B7hbyldJSkMVLcksz6PQGIK7G2l2fM51UlpmPVGlg/QNHeS2ydg/UvH/bDUQ4kCCDngn5zBIQ8QEqkkGMpsXCNOI4z17AhS5wl6mb0DtNhj0QjCWYI6yPvri2HkNoqYRU3ANghjNO4w7LWTVR0TLswjqbJHAM7dezLytrw5AAq3vca1E28q43bE2xI=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1720443089; cv=none; b=eXnJFtQZ0+x6XUsjn3Jn/pKSqk1cR/L0bVLrdWtLwEl7VUbdHfQPgb423tT+zxYZD3T6vsYp4U7uwnmhZTVg8yEEj6tQY0q7ltdKmQygHFmx5yqix6FktFKJWvMrQSALrvT2tNKegzJDq0E3C1G20dOMrgID8xetXxp27cm2EpDsHsgGdZuaPQtYFVd7Q+dal3+zR/gCe/eB7v83iiJs0J/ov2okcejFcNfAJOc/Rm0WIOen6wAbK2OsBbNGB6o+Za5na8ZAhCYBzVTzbOhlmxsF16+AcA//TBYojk1lUoR8OUE7c48UQJTHbzfwrqXZRrG7W6CIup7iwUywPnOxPOgkbDSgsS63VkcoRpmSfO4BdU35c8v9lh007bhp+hGcFObLDEXNm6WCO7VjqeaNFDD9a6CI8tDTIMa5w8QtkeIzyZfdOpUWEWDl6/nx9zQDymm6vxhw+0mwE1NxeEp0RMm0ec3VnpUZ54qbpVMuJfIWpGdsgLYQGQ1hPPlC0smriAHEjuXeMN2lnk9hYaU8CyxmvaHvJez7mZIgtUK/4kfKJjorpvz14uzMcii6ARGf9D7gY8R88z3h+oylA7f48s09sUtmEBleqZ+JncILA2MM25+ThKVZI1HgKMWrulWCsnck9EBF8pVFoh8KM24hTcfaxLd+mfYxXre7CdmSlCw=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Mon, 08 Jul 2024 14:51:33 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1720443089; bh=lsdXw4/5Dzl7ebZMrMdX8QoQt8UB/WjDXZ5XY9AQUc8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=jkxbDQfOuoH1VgiDRtrDYGZ10YFQQbdxyhzwetvtP97DNtgyQnTyxydE0QHNU1Rkv y4NVeiX2ySYy6/lemCftafnLoRrKtI34z5W9Ty5GLwcuHQqjUVgmCuweewTyXmbpe1 GN767MzGWUlEJ/utxw56xnIpAjAD9TKXwRa9ym3qWBYcVpQpnnOqRBBq1GRB1ajkQp C/85RA4NJsKyiheqBtMe8T/ipybC+qRMl1fjKHl7IUmrYWbx0oTxpXouEvMhPmVSgG zjG+ZBpTQmSS+O6cUpUe35Z5Y98yfK5/TSxDjeGyh/cDQC4GWZjr0ZEQ9Tq687xNvA 1yPr45PF/0nYA7bwqeVzdGzQfj3NLbu02mL2Oqc3y/9stbvJXX2c/MYZEATX7k2zeG 7DUT69hAfwDRuCmYFhLr3DKuXAOcoPH4an0KBJBOMF/eePq++NxrvoonwvqcM7Zf8T inXN8XF/exCQ+vh7sM/I1BADSbd3U/iwo0/r7mtYDmqYi34wyB8fnwFKrXifFaDu0c dg+/BRkuWl5OpLB+EppvWTfmq33TvJnutvumVX84uNCncO5w4YqAturNeYO+avt4j2 YpX5y3+N8bN49G3hOJCKJtbj3S002UROFQc0eIw5FhDzStITk5guz4LbvhhZfv2ZVp 8KdDXgGRD/3Oykyb9FEaAhAw=
- In-reply-to: <112d5de1e91aaaf96a99dd682950ca0c@stamm-wilbrandt.de>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <112d5de1e91aaaf96a99dd682950ca0c@stamm-wilbrandt.de>
On Mon, Jul 08, 2024 at 01:11:32PM +0200, hermann@stamm-wilbrandt.de wrote:
> Are there known non-prime numbers where GP ispseudoprime returns 1
> without passing flag?
No. The doc says:
There are no known composite numbers passing the above test, although it is expected that infinitely many such numbers exist. In
particular, all composites <= 2^{64} are correctly detected (checked using
http://www.cecm.sfu.ca/Pseudoprimes/index-2-to-64.html).
> Or with other flag values?
Yes, but they depend on the random seed;
? for(N=1,oo,setrand(1);if(ispseudoprime(N,1)&&!isprime(N),return(N)))
%22 = 51
? for(N=1,oo,setrand(1);if(ispseudoprime(N,2)&&!isprime(N),return(N)))
%23 = 949
? for(N=1,oo,setrand(1);if(ispseudoprime(N,3)&&!isprime(N),return(N)))
%24 = 22028203
Cheers,
Bill.