if an integer n is to be chosen at random from the integers 1 to 86 , inclusive , what is the probability that n ( n + 1 ) ( n + 2 ) will be divisible by 8 ?
"n ( n + 1 ) ( n + 2 ) will be divisible by 8 when n is a multiple of 2 or when ( n + 1 ) is a multiple of 8 . thus when n is even , this whole expression will be divisible by 8 . from 1 to 86 , there are 43 even integers . now when ( n + 1 ) is multiple by 8 , we have 12 such values for ( n + 1 ) probability that n ( n + 1 ) ( n + 2 ) will be divisible by 8 = ( 43 + 12 ) / 96 = 55 / 86 ans isd"
divide(add(divide(86, 2), divide(86, 8)), 86)