OFFSET
1,4
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 1.
(ii) For any integer n > 4, the sequence pi(k*n)^(1/k) (k = 1, ..., n) is strictly decreasing.
See also A238224 for a refinement of part (i) of this conjecture.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..400
EXAMPLE
a(5) = 3 since pi(1*5) = 3 divides both pi(3*5) = 6 and pi(5*5) = 9, and pi(2*5) = 4 divides pi(4*5) = 8.
a(7) = 1 since pi(1*7) = 4 divides pi(3*7) = 8.
MATHEMATICA
m[k_, j_]:=Mod[PrimePi[k], PrimePi[j]]==0
a[n_]:=Sum[If[m[k*n, j*n], 1, 0], {k, 2, n}, {j, 1, k-1}]
Do[Print[n, " ", a[n]], {n, 1, 70}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Feb 19 2014
STATUS
approved