OFFSET
1,5
COMMENTS
Conjecture: If n > m > 0 with n not divisible by m, then floor(k*n/m) is prime for some 0 < k < n.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..6000
Zhi-Wei Sun, Problems on combinatorial properties of primes, arXiv:1402.6641, 2014.
EXAMPLE
a(4) = 1 since floor(2*4/3) = 2 is prime.
If p is a prime, then a(3*p) = 1 since floor(k*3p/3) = k*p is prime only for k = 1. If m > 1 is composite, then a(3*m) = 0 since floor(k*3m/3) = k*m is composite for all k > 0.
MATHEMATICA
p[n_, k_]:=PrimeQ[Floor[k*n/3]]
a[n_]:=Sum[If[p[n, k], 1, 0], {k, 1, n-1}]
Table[a[n], {n, 1, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Mar 03 2014
STATUS
approved