OFFSET
1,9
COMMENTS
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
PROG
(PARI) a(n, t=prime(n))=my(s, p=2); forprime(q=3, nextprime(t/2), if(t%q==p, s++); p=q); s \\ Charles R Greathouse IV, Mar 13 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 07 2009
STATUS
approved