OFFSET
0,3
EXAMPLE
a(8)*9 = 135. Those positive integers which are coprime to 135 form the sequence: 1,2,4,7,8,11,13,14,16,17,19,22,... The 9th of these integers is 16, so a(9) = 16.
MAPLE
a[0]:=1: for n to 50 do CP:={}: for j while nops(CP)<=n do if gcd(n*a[n-1], j) =1 then CP:=`union`(CP, {j}) else end if end do: a[n]:=CP[n] end do: seq(a[n], n=0..50); # Emeric Deutsch, Aug 28 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 12 2007
EXTENSIONS
More terms from Emeric Deutsch, Aug 28 2007
STATUS
approved