Assume we are given a number and a prime number, say number and p, repectively. I want to count all subnumbers of number
number
p