OFFSET
1,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=1, then (p(1)-2*1)/3=(2-2)/3=0=a(1).
If n=7, then (p(7)-2*7)/3=(17-14)/3=1=a(2).
If n=8, then (p(8)-2*8)/3=(19-16)/3=1=a(3).
If n=43, then (p(43)-2*43)/3=(191-86)/3=35=a(4), etc.
MATHEMATICA
Select[Table[(Prime[n]-2n)/3, {n, 0, 500}], IntegerQ[#]&&!PrimeQ[#]&] (* Harvey P. Dale, Oct 18 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Oct 07 2008
EXTENSIONS
Corrected (29 replaced by double-35, 39 and 45, 115 inserted, 145 inserted, 338 replaced by 339 etc.) - R. J. Mathar, Apr 18 2010
STATUS
approved