login
For n odd, a(n) is the least positive integer not already used. For n even, a(n) is 1 plus the lcm of the last n/2 terms.
0

%I #6 Dec 05 2013 19:56:13

%S 1,2,3,7,4,85,5,2381,6,2428621,8,11796395066041,9,

%T 24556753509547879827590761,10,

%U 603034142928692112838699618154188070450425864968361,11

%N For n odd, a(n) is the least positive integer not already used. For n even, a(n) is 1 plus the lcm of the last n/2 terms.

%e a(8): The previous 4 terms are 7, 4, 85, 5 and their lcm is 2380, so a(8) = 2381.

%K nonn

%O 1,2

%A _Amarnath Murthy_, Apr 14 2003

%E Edited and extended by _David Wasserman_, Sep 27 2004