y should be an integer and hence can take any value from the set {-12, -11, -10 ... 10, 11, 12} i.e. any one of 25 values (these are 25 values -12 to -1 (12 values), 0, 1 to 12 (another 12 values)) 13 of them are even and 12 of them are odd. 2x+y=12:Every time y is even, x will be integer. e.g. y = 12, x = 0 (because x = (12 - even)/2 will be an integer) ;Every time y is odd, x will be non-integer e.g. y = 1, x = 5.5 (because x = (12 - odd)/2 will not be an integer)
y should be an integer and hence can take any value from the set {-12, -11, -10 ... 10, 11, 12} i.e. any one of 25 values (these are 25 values -12 to -1 (12 values), 0, 1 to 12 (another 12 values)) 13 of them are even and 12 of them are odd. 2x+y=12:Every time y is even, x will be integer. e.g. y = 12, x = 0 (because x = (12 - even)/2 will be an integer) ;Every time y is odd, x will be non-integer e.g. y = 1, x = 5.5 (because x = (12 - odd)/2 will not be an integer)
登录 或 注册 后可以参加讨论