CombinatoricsDifficulty 4.2AIMEFind the answerUnited States
Problem: A computer program is a function that takes in 4 bits, where each bit is either a 0 or a 1, and outputs TRUE or FALSE. How many computer programs are there?
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
Solution: The function has 24 inputs and 2 outputs for each possible input, so the answer is 224=216=65536.
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: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.