:: Primality of 6700417
:: by Library Committee
::
:: Received September 18, 2025
:: Copyright (c) 2025-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies NUMBERS, CARD_1, XXREAL_0, RELAT_1, ARYTM_3, NEWTON, INT_1,
SUBSET_1, ARYTM_1, INT_2, NAT_1, SQUARE_1, ZFMISC_1, NAT_6;
notations SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, INT_1, SQUARE_1, INT_2,
XXREAL_0, NEWTON, NAT_6;
constructors NAT_D, PEPIN, EC_PF_2, INT_7, NAT_6;
registrations XREAL_0, NAT_1, INT_1, MEMBERED, NEWTON, SQUARE_1, INT_2, NAT_6;
requirements REAL, NUMERALS, SUBSET, ARITHM;
begin
theorem :: XPRIMES3:1
for a,e
being Nat, n,r,s,k
being Integer st
a|^e,r are_congruent_mod n & r*r = k*n+s
holds a|^(e+e),s are_congruent_mod n;
theorem :: XPRIMES3:2
for a,e,f
being Nat, n,r,s,t,k
being Integer st
a|^e,r are_congruent_mod n &
a|^f,s are_congruent_mod n & r*s = k*n+t
holds a|^(e+f),t are_congruent_mod n;
theorem :: XPRIMES3:3
17449 is prime;
theorem :: XPRIMES3:4
6700417 is prime;