I want to simplify a condition that checks if every Nth bit of on first number(expressed binary) forms the other number (expressed binary). One way to express it is condition expression. Another way is arithmetic expression.
Is there any way to simplify this condition so that it would not involve sum(Σ) or quantifier? It would be easy if there were some elementary function that adds(or removes) N bits after each bit. I don't need program in any programing language, that does it, but a function in common mathematical symbols. It would also be good answer if someone explained why it is impossible.
for example condition is satisfied if n1=4196 n2=23 N=3, because:
4196=11001011011012 and 23=101112