James Cloos on Thu, 28 Aug 2025 20:37:56 +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?


BA> Adding this one would break backward compatibility, so this is not
BA> an option.

does pari have a generalized factorial function?

maxima's doc notes this:

     For an argument ‘n’ which is not an integer, float, or rational,
     ‘n!!’ yields a noun form ‘genfact (n, n/2, 2)’.

perhaps pari's docs could suggest using such a generalized factorial
when a double factorial is desired?

-JimC
-- 
James Cloos <cloos@jhcloos.com>
            OpenPGP: https://jhcloos.com/0x997A9F17ED7DAEA6.asc