The following code
> var("z y z")
> f = (x-y)^2*(y-z)*(z-x) + (y-z)^2*(z-x)*(x-y) + (z-x)^2*(x-y)*(y-z)
> f.expand()
outputs 0.
But
> f.factor()
simply prints the original formula (x-y)^2...
Maybe something is wrong?
--
You received this message because you are subscribed to the Google Groups
Perhaps this is a hint? The first message was sent on
Date: Fri, 1 Apr 2022 17:30:21 -0700 (PDT)
Guillermo
On Sat, 2 Apr 2022 at 12:57, John Cremona wrote:
>
>
> On Sat, 2 Apr 2022, 10:50 Andrew, wrote:
>
>> There does seem to be a problem:
>>
>> sage: k = 61*2^88+1 ; k
>>
Hello,
I want to contribute to the ticket: https://trac.sagemath.org/ticket/7231,
Cryptanalysis of the Vigenere cipher.
The input shall be the the cipher text, and the outputs shall be the key
and deciphered text.
Please let me know the starting point, i.e., the file to where I can
On Sat, 2 Apr 2022, 10:50 Andrew, wrote:
> There does seem to be a problem:
>
> sage: k = 61*2^88+1 ; k
> 18878585599102049192211644417
> sage: k.is_prime()
> True
> sage: k.factor()
> 18878585599102049192211644417
> sage: k == 61*2^88+1
> True
> sage: GF(k)
> Finite Field of size
There does seem to be a problem:
sage: k = 61*2^88+1 ; k
18878585599102049192211644417
sage: k.is_prime()
True
sage: k.factor()
18878585599102049192211644417
sage: k == 61*2^88+1
True
sage: GF(k)
Finite Field of size 18878585599102049192211644417
On Saturday, 2 April 2022 at 6:55:44 pm UTC+11
It seems this number is a prime number and 18878585599102049192211644417 =
61*2^88+1 is not a factorization of the number. Hence, everything is fine.
Am I missing something here?
cheers,
Andry
Le sam. 2 avr. 2022 à 02:33, carlos ortiz a écrit :
> The number:
>
> 18878585599102049192211644417 =
Which version of sage are you using?
In a console I get
sage: k=ZZ(18878585599102049192211644417)
sage: k.is_prime()
True
sage: GF(k)
Finite Field of size 18878585599102049192211644417
Le 02/04/2022 à 02:30, carlos ortiz a écrit :
The number:
18878585599102049192211644417 = 61*2^88+1
but