login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A238703 a(n) = |{0 < k < n: floor(k*n/3) is prime}|. 1
0, 0, 1, 1, 2, 1, 3, 3, 1, 3, 4, 0, 4, 2, 1, 3, 5, 0, 4, 4, 1, 4, 5, 0, 3, 4, 0, 3, 6, 0, 5, 4, 1, 6, 6, 0, 7, 4, 1, 5, 4, 0, 7, 6, 0, 8, 5, 0, 8, 7, 1, 6, 7, 0, 9, 9, 1, 9, 8, 0, 6, 7, 0, 7, 12, 0, 9, 7, 1, 11, 10, 0, 6, 8, 0, 7, 9, 0, 7, 12 (list; graph; refs; listen; history; text; internal format)
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, 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
Sequence in context: A098975 A309213 A127121 * A185908 A234951 A291302
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Mar 03 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)