Teorema di Eulero

 

  

#1:   a : 1789

 #2:   n : 2401

 #3:   E : EULER_PHI(n) - 1

                      E   

#4:   MOD(a , n)

 #5:                                   51

 #6:   MOD(a·51, n)

 #7:                                    1

 #8:   p : 1789

 #9:   q : 1801

 #10:  n : p·q

 #11:                              n : 3221989

 #12:  Φ : (p - 1)·(q - 1)

 #13:                              Φ : 3218400

 #14:  H : NEXT_PRIME(RANDOM(Φ))

 #15:                              H : 1093531

 #16:  E : EULER_PHI(Φ) - 1

 #17:                              E : 852479

                             E   

#18:  K : MOD(H , Φ)

 #19:                              K : 1558771

 #20:  MOD(H·K, Φ)

 #21:                                   1