document.write( "Question 1187149: Find the number of positive integers less than 601 that are not divisible by 4 or 5 or 6 \n" ); document.write( "
Algebra.Com's Answer #818109 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Find the number of positive integers less than 601 that are not divisible by 4 or 5 or 6
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "We have a universal set U of 600 elements (integer numbers from 1 to 600 inclusive).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Of them, 600/4  = 150  elements are divisible by  4  (subset F, from the word Four);\r\n" );
document.write( "\r\n" );
document.write( "         600/5  = 120  elements are divisible by  5  (subset V, from the word fiVe);\r\n" );
document.write( "\r\n" );
document.write( "         600/6  = 100  elements are divisible by  6  (subset X, from the word siX).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Of them, we have these in-pair intersections\r\n" );
document.write( "\r\n" );
document.write( "         600/(4*5)  = 30  elements divisible by 4 and by  5  (intersection (F and V) );\r\n" );
document.write( "\r\n" );
document.write( "         600/(4*6) =  25  elements divisible by 4 and by  6  (intersection (F and X) );\r\n" );
document.write( "\r\n" );
document.write( "         600/(5*6)  = 20  elements divisible by 5 and by  6  (intersection (V and X) ).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Of them, we have triple intersection\r\n" );
document.write( "\r\n" );
document.write( "         600/(3*4*5) = 10  elements divisible by 4, 5 and 6  (intersection (F and V and X) ).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Having it, we can calculate the number of elements in the union of the three subsets (F U V U X).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Use the formula for the number of elements in the union of any 3 subsets (inclusion-exclusion principle)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    n(F U X U N) = n(F) + n(V) + n(X) - n(F and V) - n(F and X) - n(V and X) + n(F and V and X) = \r\n" );
document.write( "\r\n" );
document.write( "                 =             substitute the obtained numbers from above                       = \r\n" );
document.write( "\r\n" );
document.write( "                 =  150 + 120 + 100  -    30      -     25       -     20     +   10 = 305.       \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The rest  600 - 305 = 295  integer numbers from 1 to 600 inclusive are not divisible NEITHER by 4, NOR by 5. NOR by 6.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.   There are 295 integer numbers from 1 and 600 (inclusive) that are NOT divisible  NEITHER by 4,  NOR by 5, NOR by 6.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );