in reply to recursive formula.

r10,110,430,930,910,52
r20,070,310,780,120,18
r30,190,370,820,150,32
Shouldn't 0<r1<r2<r3? Otherwise you're multiplying by negative numbers in the formula.