a(1) = 1, a(2) = 4; for n > 2, a(n) = k*a(n-1) + 1 where k is smallest number > 1 such that k*a(n-1) + 1 is a multiple of n.

A069563

a(1) = 1, a(2) = 4; for n > 2, a(n) = k*a(n-1) + 1 where k is smallest number > 1 such that k*a(n-1) + 1 is a multiple of n.

Terms

    a(0) =1a(1) =4a(2) =9a(3) =28a(4) =85a(5) =426a(6) =3409a(7) =23864a(8) =167049a(9) =1837540a(10) =18375401a(11) =128627808a(12) =1157650273a(13) =10418852458a(14) =83350819665

External references