With a(1) = 1, a(n) is the smallest number not already in the sequence such that -1 + Product_{i=1..n} a(i) is a square.

A259255

With a(1) = 1, a(n) is the smallest number not already in the sequence such that -1 + Product_{i=1..n} a(i) is a square.

Terms

    a(0) =1a(1) =2a(2) =5a(3) =17a(4) =13a(5) =97a(6) =3077a(7) =155333a(8) =147223992353

External references