OFFSET
1,2
EXAMPLE
a(1)=1 because 2*p(p(1))-3=2*p(2)-3=2*3-3=3=prime and 3*p(p(1))-2=7=prime; a(2)=2 because 2*p(p(2))-3=2*p(3)-3=2*5-3=7=prime and 3*p(p(2))-2=13=prime; a(3)=3 because 2*p(p(3))-3=2*p(5)-3=2*11-3=19=prime and 3*p(p(3))-2=31=prime; a(4)=8 because 2*p(p(8))-3=2*p(19)-3=2*67-3=131=prime and 3*p(p(8))-2=199=prime.
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Feb 14 2010
EXTENSIONS
Inserted 23 and 24, removed 34, extended the sequence - R. J. Mathar, Mar 01 2010
STATUS
approved