OFFSET
1,1
EXAMPLE
If n=2 and 3=prime(2), then 2<3 and 2=a(1). If n=3 and 5=prime(3), then 3<5 and 3=a(2). If n=5 and 11=prime(5), then 5>1 and 5=a(3). If n=7 and 17=prime(7), then 7>1 and 7=a(4). If n=17 and 59=prime(17), then 1<5 and 17=a(5), etc.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Juri-Stepan Gerasimov, Jan 23 2009
EXTENSIONS
Corrected (89 inserted) by R. J. Mathar, May 10 2010
STATUS
approved