OFFSET
1,2
EXAMPLE
103 is the 27th prime. Checking: 103-a(26) = 103-55 = 48, which is <= a(26)=55; so a(27) is not 48. 103-a(25) = 103-51 = 52, which is also <= a(26). But 103-a(24) = 103-46 = 57, which is > a(26). So a(27) is 57 and a(27)+a(24) = the 27th prime = 103.
MAPLE
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 18 2008
EXTENSIONS
More terms from R. J. Mathar, May 23 2008
STATUS
approved