OFFSET
1,4
COMMENTS
Conjecture: a(n) > 0 for all n > 0.
See also A237614 for the least k > 0 with pi(k*n) divisible by n.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..2500
EXAMPLE
a(6) = 1 since pi(11*6) = 3*6 with 11 < prime(6) = 13.
a(19) = 1 since pi(33*19) = 6*19 with 33 < prime(19) = 67.
a(759) = 1 since pi(2559*759) = 191*759 with 2559 < prime(759) = 5783.
MATHEMATICA
a[n_]:=Sum[If[Mod[PrimePi[k*n], n]==0, 1, 0], {k, 1, Prime[n]-1}]
Table[a[n], {n, 1, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Feb 10 2014
STATUS
approved