Try this formula in the Conditional Format

=MOD(A1,5)>0