Brachylog, 6 bytes
{÷|%}ᶠ
###Explanation
Explanation
We abuse the metapredicate ᶠ findall
to apply two different predicates to the Input list of two arguments:
{ }ᶠ Findall for the Input [A,B] :
÷ Integer division
| Or…
% Modulo