For positive integer x>1, define set Sx as Sx={pα∣p is one of the prime divisor of x,α∈N,pα∣x,α≡vp(x)(mod2)},
where vp(n) is the power of prime divisor p in positive integer n. Let f(x) be the sum of all the elements of Sx when x>1, and f(1)=1.
Let m be a given positive integer, and the sequence a1,a2,⋯,an,⋯ satisfy that for any positive integer n>m,an+1=max{f(an),f(an−1+1),⋯,f(an−m+m)}. Prove that
(1)there exists constant A,B(0<A<1), such that when positive integer x has at least two different prime divisors, f(x)<Ax+B holds;
(2)there exists positive integer Q, such that for any positive integer n,an<Q.