CombinatoricsDifficulty 5.6AIME, harderFind the answer
8. In the six-digit decimal number a1a2a3a4a5a6, each digit ai(1⩽i⩽6) is an odd number, and the digit 1 is not allowed to be adjacent (for example, 135131, 577797 satisfy the condition, while 311533 does not satisfy the condition), then the number of such six-digit numbers is .
A number or a short expression. Spacing and $ signs are ignored.
Solution
When ai(1⩽i⩽6) does not contain the digit 1, the number of six-digit numbers a1a2a3a4a5a6 is 46; when ai(1⩽i⩽6) contains one 1, the number of six-digit numbers a1a2a3a4a5a6 is 6⋅45; when ai(1⩽i⩽6) contains two 1s, the number of six-digit numbers a1a2a3a4a5a6 is C52⋅44; when ai(1⩽i⩽6) contains three 1s, the number of six-digit numbers a1a2a3a4a5a6 is C43⋅43, so the number of six-digit numbers a1a2a3a4a5a6 that satisfy the condition is 13056.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.