If the sum of the first n terms of two arithmetic sequences {an} and {BN} is an and BN respectively, and an / BN = 7n + 45 / N + 3, then the number of positive integers n with an / BN as an integer is? First of all, thank you

If the sum of the first n terms of two arithmetic sequences {an} and {BN} is an and BN respectively, and an / BN = 7n + 45 / N + 3, then the number of positive integers n with an / BN as an integer is? First of all, thank you

First, find out the general term formula, an = (14N + 38) k, BN = (2n + 2) k, K is a coefficient, then eliminate K, and get (14N + 38) / (2n + 2) = 7 + 12 / (n + 1), so we can get n = 1,2,3,5,11