OFFSET
1,2
FORMULA
a(n) = A112529(n-1) for n >= 2. - Georg Fischer, Oct 24 2018
EXAMPLE
a(1) = 1 because 2-0 = 2 is prime, and 2+0 = 2 is prime.
a(2) = 7 because 17-14 = 3 is prime, and 17+14 = 31 is prime.
a(3) = 9 because 23-18 = 5 is prime, and 23+18 = 41 is prime.
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 11 2010
EXTENSIONS
Corrected (11 replaced by 12, 128 replaced by 126) and extended by R. J. Mathar, Apr 16 2010
STATUS
approved