OFFSET
1,1
EXAMPLE
Since 4, 8, 9 and 12 are the first 4 nonsquarefree positive integers, the fourth term of the sequence is 4*8*9*12 = 3456.
MATHEMATICA
Rest[ FoldList[ Times, 1, Select[ Range[2, 48], (Union[Last /@ FactorInteger[ # ]][[ -1]] > 1) == True &]]] (* Robert G. Wilson v *)
FoldList[Times, Select[Range[50], !SquareFreeQ[#]&]] (* Harvey P. Dale, Dec 31 2022 *)
PROG
(PARI) a=1; for(n=1, 48, if(!issquarefree(n), print1(a=a*n, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Oct 09 2005
EXTENSIONS
More terms from Klaus Brockhaus and Robert G. Wilson v, Oct 11 2005
STATUS
approved