问题 填空题

当n为奇数时,1+(-1)n=______;当n为偶数时,1+(-1)n=______.

答案

∵当n为奇数时(-1)n=-1,

∴原式=1-1=0;

∵当n为偶数时(-1)n=1,

∴原式=1+1=2.

故答案为:0,2.

单项选择题
单项选择题 配伍题