OFFSET
1,6
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 9.
(ii) If n > 0 is not equal to 5, then prime(prime(k*n)) + 2 is prime for some k = 1, ..., n.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..3000
Zhi-Wei Sun, Problems on combinatorial properties of primes, arXiv:1402.6641, 2014.
EXAMPLE
a(3) = 1 since prime(prime(prime(1*3))) - 2 = prime(prime(5)) - 2 = prime(11) - 2 = 31 - 2 = 29 is prime.
MATHEMATICA
p[n_]:=PrimeQ[Prime[Prime[Prime[n]]]-2]
a[n_]:=Sum[If[p[k*n], 1, 0], {k, 1, n}]
Table[a[n], {n, 1, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Mar 21 2014
STATUS
approved