OFFSET
1,2
EXAMPLE
If n=1, then r(r(1)+1)+1=r(0+1)+1=r(1)+1=0+1=1=a(1).
If n=2, then r(r(2)+1)+1=r(1+1)+1=r(2)+1=1+1=2 (prime).
If n=3, then r(r(3)+1)+1=r(4+1)+1=r(5)+1=8+1=9=a(2).
If n=4, then r(r(4)+1)+1=r(6+1)+1=r(7)+1=10+1=11 (prime).
If n=5, then r(r(5)+1)+1=r(8+1)+1=r(9)+1=14+1=15=a(3).
If n=6, then r(r(6)+1)+1=r(9+1)+1=r(10)+1=15+1=16=a(4).
If n=7, then r(r(7)+1)+1=r(10+1)+1=r(11)+1=16+1=17 (prime).
If n=8, then r(r(8)+1)+1=r(12+1)+1=r(13)+1=20+1+21=a(5).
If n=9, then r(r(9)+1)+1=r(14+1)+1=r(15)+1=22+1=23 (prime).
If n=10, then r(r(10)+1)+1=r(15+1)+1=r(16)+1=24+1=25=a(6), etc.
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 25 2008
EXTENSIONS
49 and 69 inserted by R. J. Mathar, Sep 05 2008
STATUS
approved