let n be positive Integer; ( ( n <= 7 or n in {9,10,12,15} ) iff for x, y being positive Integer holds not (3 * x) + (5 * y) = n )
thus
( ( n <= 7 or n in {9,10,12,15} ) implies for x, y being positive Integer holds not (3 * x) + (5 * y) = n )
( ex x, y being positive Integer st (3 * x) + (5 * y) = n or n <= 7 or n in {9,10,12,15} )
assume A12:
for x, y being positive Integer holds (3 * x) + (5 * y) <> n
; ( n <= 7 or n in {9,10,12,15} )
assume A13:
n > 7
; n in {9,10,12,15}
assume A14:
not n in {9,10,12,15}
; contradiction
n is Nat
by TARSKI:1;
then consider k being Nat such that
A15:
( n = 3 * k or n = (3 * k) + 1 or n = (3 * k) + 2 )
by NUMBER02:23;
per cases
( n = 3 * k or n = (3 * k) + 1 or n = (3 * k) + 2 )
by A15;
suppose A16:
n = 3
* k
;
contradictionset x =
k - 5;
set y = 3;
(3 * (k - 5)) + (5 * 3) = n
by A16;
hence
contradiction
by A12, A17;
verum end; suppose A20:
n = (3 * k) + 1
;
contradictionset x =
k - 3;
set y = 2;
(3 * (k - 3)) + (5 * 2) = n
by A20;
hence
contradiction
by A12, A21;
verum end; suppose A24:
n = (3 * k) + 2
;
contradictionset x =
k - 1;
set y = 1;
(3 * (k - 1)) + (5 * 1) = n
by A24;
hence
contradiction
by A12, A25;
verum end; end;