OFFSET
0,2
EXAMPLE
a(4) = 5 because 5 is the smallest squarefree integer greater than 3, the 4th number of the Fibonacci sequence.
MAPLE
with(numtheory): with(combinat): a:=proc(n) local B, j: B:={}: for j from 1+fibonacci(n) to 20+fibonacci(n) do if abs(mobius(j))>0 then B:=B union {j} else B:=B fi od: B[1]: end: seq(a(n), n=0..43); # Emeric Deutsch, Oct 11 2005
MATHEMATICA
f[n_] := Block[{k = Fibonacci[n] + 1}, While[ Union[Last /@ FactorInteger[k]][[ -1]] > 1, k++ ]; k]; Table[ f[n], {n, 0, 38}] (* Robert G. Wilson v *)
ssi[n_]:=Module[{k=n+1}, While[!SquareFreeQ[k], k++]; k]; ssi/@Fibonacci[ Range[0, 40]] (* Harvey P. Dale, Apr 12 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph Buszka (jab5118(AT)psu.edu), Oct 11 2005
EXTENSIONS
More terms from Robert G. Wilson v and Emeric Deutsch, Oct 11 2005
STATUS
approved