OFFSET
1,2
COMMENTS
a(p) = p if p is a prime.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
FORMULA
Largest prime of the form n - r(r+1)/2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 30 2003
EXTENSIONS
More terms from Frank Ellermann, Dec 03 2003
STATUS
approved