document.write( "Question 978706: Hi tutors, can you help me answer this question? Thanks\r
\n" ); document.write( "\n" ); document.write( "A three-digit number has all digits odd. How many such numbers are divisible by three?\r
\n" ); document.write( "\n" ); document.write( "A. 29
\n" ); document.write( "B. 36
\n" ); document.write( "C. 39
\n" ); document.write( "D. 40
\n" ); document.write( "E. 41
\n" ); document.write( "

Algebra.Com's Answer #600223 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
I count \"highlight%2841%29\" out of the \"5%2A5%2A5=125\" three-digit numbers whose digits are all odd.
\n" ); document.write( "I counted it through a shortcut, but it is still a messy, cumbersome way to count it.
\n" ); document.write( "Maybe the kids at the artofproblemsolving forum would have an elegant, streamlined way to count them.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "HOW I COUNT THEM:
\n" ); document.write( "For a number to be divisible by 3 (multiple of 3), its digits must add to a multiple of 3.
\n" ); document.write( "I count \"13\" sets of 3 digits with all digits are odd, and they add to
\n" ); document.write( "a multiple of 3 (3, 6, 9, 12, 15, 18, 21, 24, or 27).
\n" ); document.write( "Those sets are:
\n" ); document.write( "{1,1,1} , {1,1,7} ,
\n" ); document.write( "{1,3,5} , {1,5,9} ,
\n" ); document.write( "{1,7,7} ,
\n" ); document.write( "{3,3,3} , {3,3,9} ,
\n" ); document.write( "{3,5,7} ,
\n" ); document.write( "{3,9,9} ,
\n" ); document.write( "{5,5,5} ,
\n" ); document.write( "{5,7,9} ,
\n" ); document.write( "{7,7,7} , and
\n" ); document.write( "{9,9,9} .\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Among those \"13\" sets, \"4\" sets have 3 different digits,
\n" ); document.write( "Each of those \"4\" sets can be arranged in \"3%2A2=6\" different arrangements/permutations,
\n" ); document.write( "making \"4%2A6=24\" different three-digit numbers whose digits are all odd.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Among those \"13\" sets listed above,
\n" ); document.write( "there are also \"5\" sets made of just one single repeated digit,
\n" ); document.write( "and each one of those sets can be arranged just one way,
\n" ); document.write( "to form just one three-digit number,
\n" ); document.write( "so from them we can get another \"5\" three-digit numbers whose digits are all odd.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The remaining \"4\" of the \"13\" sets listed above contain only two different digits, one of them repeated.
\n" ); document.write( "Form each of those \"4\" sets, we can make \"3\" different three-digit numbers,
\n" ); document.write( "because there are 3 positions to place the unrepeated digit,
\n" ); document.write( "and that gives us another \"4%2A3=12\" three-digit numbers whose digits are all odd.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "That makes a total of \"24%2B5%2B12=highlight%2841%29\" three-digit numbers divisible by 3, whose digits are all odd.
\n" ); document.write( "
\n" ); document.write( "
\n" );