Ruud H.G. van Tol on Thu, 28 Aug 2025 14:15:38 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: PARI/GP wrong on 7!!+7+1 being not prime, or oeis.org/Mathematica?
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: PARI/GP wrong on 7!!+7+1 being not prime, or oeis.org/Mathematica?
- From: "Ruud H.G. van Tol" <rvtol@isolution.nl>
- Date: Thu, 28 Aug 2025 14:15:32 +0200
- Delivery-date: Thu, 28 Aug 2025 14:15:38 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=isolution.nl; s=soverin; t=1756383333; bh=9NSiWJOarqtN8yzEOt3YTSdZrDL8QSQVkz59Z9Fs3/I=; h=Date:Subject:To:References:From:In-Reply-To:From; b=DSLR5qeMYLVJnKGPdhbcO6l4LqmAvodVxMtfSSLiroGImOmQ9NY1S+7+0u7QQhlTZ 6XwPyXwKIlfwIDhYSBxspPELMuIlQFKDhfUt3Ne7yKUDvwZ1e7h6BTw2DllajqnqfY fh4W8eWJQJz5iAlB0Xgl862E0NbgtkzLR4F49uuibQNpK5CE4gxk8LxpbM7yzmsR/g iaMI3H/yWQAKnpzLQf3JZ8xxfZlFogetWZZ22YmDbhgtqkSZlEjzqR7jILJL5Y00gP N/KGweTrFhspl+c6K+xtYHgnLhaKqAfoZpK6B0TncTTR/c+pRCm7Fm08EPN4HL1XPp dk1TQBOy/G+oQ==
- In-reply-to: <147f7756bbcb46d77e1c67c39d8aeedd@stamm-wilbrandt.de>
- References: <147f7756bbcb46d77e1c67c39d8aeedd@stamm-wilbrandt.de>
On 2025-08-28 13:48, hermann@stamm-wilbrandt.de wrote:
The sequence is:
https://oeis.org/search?q=5%2c7%2c13%2c113%20id:A118743
[...]
Is 7!!+7+1 prime or not?
hermann@7950x:~$ gp -q
? for(n=1,12,if(isprime(n!!+n+1),print(n,": ",n!!+n+1));print1("."))
1: 3
.2: 5
...........
? ##
*** last result computed in 4min, 32,167 ms.
If !! means "double factorial", then 1 is the only odd that can lead to
a prime:
3!! is even, plus 3 plus 1, is still even.
So what does !! mean here?
(see also the Maple code)
-- Ruud