a(1)=1. Thereafter, a(n+1) is the greatest divisor of s(n) which is prime to a(n), where s(n) is the n-th partial sum.

A351743

a(1)=1. Thereafter, a(n+1) is the greatest divisor of s(n) which is prime to a(n), where s(n) is the n-th partial sum.

Terms

    a(0) =1a(1) =1a(2) =2a(3) =1a(4) =5a(5) =2a(6) =3a(7) =5a(8) =4a(9) =3a(10) =1a(11) =28a(12) =1a(13) =57a(14) =2a(15) =29a(16) =5a(17) =6a(18) =13a(19) =1a(20) =170a(21) =1a(22) =341a(23) =2a(24) =171a(25) =5a(26) =172a(27) =3a(28) =115a(29) =2

External references