1) Cards whose numbers are less than number of the nine of spades are:
all clubs, all diamonds, all hearts, ace of spades, two of spades,...,eight of spades,
total 13 + 13 + 13 + 8 = 47 cards. So nine of spades gets number 47 + 1 = 48.
2) Ace of diamonds gets number 13 + 1 = 14, there are 13 cards with smaller numbers (all clubs),
king of diamonds gets number 13 + 13 = 26.
If the card is diamond then its number "14\\leq" n"\\leq 26", therefor 1<14/13 "\\leq" n/13"\\leq 26\/13=2",
hence ceiling(n/13) = 2.
Answer: 1) 48, 2) ceiling(n/13) = 2.
Comments
Leave a comment