a(1) = 1; a(n) is the smallest n-th power which is congruent to 1 mod a(n-1).

A068894

a(1) = 1; a(n) is the smallest n-th power which is congruent to 1 mod a(n-1).

Terms

    a(0) =1a(1) =4a(2) =125a(3) =10556001

External references