Task
a(1) = 1; for n > 1, a(n) = largest proper divisor of n, where n < 101 .


01.10 F N=1,100;D 2;D 3
01.20 Q
 
02.10 S V=1
02.20 I (1-N)2.3;R
02.30 S V=N-1
02.40 S A=N/V
02.50 I (FITR(A)-A)2.6;R
02.60 S V=V-1
02.70 G 2.4
 
03.10 T %2,V
03.20 S A=N/10
03.30 I (FITR(A)-A)3.4;T !
03.40 R