OFFSET
1,1
EXAMPLE
a(1) = 6 because 2+3=5 is prime and 3-2=1 is nonprime.
a(3) = 22 because 2+11=13 is prime and 11-2=9 is nonprime.
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Juri-Stepan Gerasimov, Jan 04 2009
EXTENSIONS
Corrected, edited, and extended by Charles R Greathouse IV, Mar 29 2010
STATUS
approved