"홀수, 짝수"의 두 판 사이의 차이

35번째 줄: 35번째 줄:
==같이 보기==
==같이 보기==
*[[정수]]
*[[정수]]
*[[패리티]]
*[[함수 is_odd()]]
*[[함수 is_odd()]]
*[[함수 is_even()]]
*[[함수 is_even()]]

2015년 8월 26일 (수) 21:52 판

odd
홀수, 홀
even
짝수, 짝

1 홀수

  • 2로 나누어 떨어지지 않는 정수
  • 예: 1, 3, 5, 7, 9, …
Odd [math]\displaystyle{ =\{ 2k+1: k \in \mathbb{Z} \} }[/math]

2 짝수

  • 2로 나누어 떨어지는 정수
  • 예: 2, 4, 6, 8, 10, …
Even [math]\displaystyle{ =\{ 2k: k \in \mathbb{Z} \} }[/math]

3 성질

덧셈
  • 홀수 + 홀수 = 짝수
  • 짝수 + 짝수 = 짝수
  • 홀수 + 짝수 = 홀수
곱셈
  • 홀수 × 홀수 = 홀수
  • 짝수 × 짝수 = 짝수
  • 홀수 × 짝수 = 짝수
기타

[math]\displaystyle{ m, n }[/math]이 정수일 때...

  • [math]\displaystyle{ n^2 }[/math]이 홀수이면 [math]\displaystyle{ n }[/math]도 홀수
  • [math]\displaystyle{ n^2 }[/math]이 짝수이면 [math]\displaystyle{ n }[/math]도 짝수
  • [math]\displaystyle{ mn }[/math]이 짝수이면 [math]\displaystyle{ m }[/math] 또는 [math]\displaystyle{ n }[/math]이 짝수
  • [math]\displaystyle{ mn }[/math]이 홀수이면 [math]\displaystyle{ m }[/math][math]\displaystyle{ n }[/math]은 홀수

4 같이 보기

5 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}