PUMaC 2007 · 组合(A 组) · 第 8 题
PUMaC 2007 — Combinatorics (Division A) — Problem 8
题目详情
有多少对 2007 位数 与 使得 为偶数?
英文原题
How many pairs of 2007-digit numbers and satisfy that is even?
解析
为奇数当且仅当两个数字都为奇数。首位共有 种,其中奇积 种、偶积 种。其余每一位共有 种,其中奇积 种、偶积 种。
用偶奇性筛选公式,偶数总和的对数为
化去 ,得到
英文解析
A product is odd exactly when both digits are odd. For the first digit, there are odd-product pairs and even-product pairs among choices. For every later digit, there are odd-product pairs and even-product pairs among choices.
Using the even-parity filter,
pairs have an even total. Rewriting without the factor gives