OFFSET
1,1
COMMENTS
Analogous to Bertrand's primes.
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..360
MAPLE
with(numtheory):a[1] := 2:for n from 2 to 84 do q := 2*a[n-1]-1:while(not issqrfree(q)) do q := q-1:od:a[n] := q:od:seq(a[l], l=1..84);
MATHEMATICA
lsfn[n_]:=Module[{s=2n-1}, While[!SquareFreeQ[s], s--]; s]; NestList[ lsfn, 2, 40] (* Harvey P. Dale, Nov 28 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Oct 26 2002
EXTENSIONS
More terms from Sascha Kurz, Jan 26 2003
STATUS
approved