OFFSET
2,1
COMMENTS
This is not a permutation of the natural numbers since a(4)=a(2), a(9)=a(6), a(12)=a(11) etc. [From Hagen von Eitzen, May 16 2009]
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..10000
MAPLE
c:= proc() false end:
b:= proc(n) option remember; local k, m;
if n<3 then k:=n
else m:= denom(b(n-2) /b(n-1));
for k from m by m while c(k) do od
fi;
c(k):= true; k
end:
a:= n-> b(n-1)*b(n+1)/b(n):
seq(a(n), n=2..100); # Alois P. Heinz, Jul 18 2012
MATHEMATICA
Clear[b, c]; c[_] = False; b[n_] := b[n] = Module[{k, m}, If[n<3, k = n, m = Denominator[b[n-2]/b[n-1]]; For[k = m, c[k], k = k+m]]; c[k] = True; k]; a[n_] := b[n-1]*b[n+1]/b[n]; Table[a[n], {n, 2, 100}] (* Jean-François Alcover, Jun 10 2015, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Amarnath Murthy, Sep 09 2002
EXTENSIONS
More terms from Sascha Kurz, Feb 03 2003
STATUS
approved