document.write( "Question 542072: I am a number less than 40. One of my factors is 7. the sum of my digits is 8. what number am I? \n" ); document.write( "
Algebra.Com's Answer #354404 by Edwin McCravy(20060)\"\" \"About 
You can put this solution on YOUR website!
I am a number less than 40. One of my factors is 7. the sum of my digits is 8. what number am I?
\n" ); document.write( "
\r\n" );
document.write( "Two ways to figure out what number you are:\r\n" );
document.write( "\r\n" );
document.write( "First way:\r\n" );
document.write( "The numbers less that 40 which have sum of digits 8 are 17, 26, 35.\r\n" );
document.write( "Only one of those that has a factor of 7.  And that is 35.  \r\n" );
document.write( "So you are 35.\r\n" );
document.write( "\r\n" );
document.write( "Second way:\r\n" );
document.write( "The numbers less that 40 which have a factor of 7 are 7,14,21,28,35\r\n" );
document.write( "Only one of those which has sum of digits as 8.  And that is 35.\r\n" );
document.write( "So you are 35.\r\n" );
document.write( "\r\n" );
document.write( "Edwin

\n" ); document.write( "
\n" ); document.write( "
\n" );