OFFSET
1,2
COMMENTS
The sequence ends with a(319)=1276, since 320k + 1276 is divisible by 4 for all k.
MATHEMATICA
smn[{n_, a_}]:=Module[{k=1}, While[!SquareFreeQ[a+k*n], k++]; {n+1, k*n}]; NestList[ smn, {1, 1}, 80][[All, 2]] (* Harvey P. Dale, Jul 02 2022 *)
CROSSREFS
KEYWORD
fini,nonn
AUTHOR
Jason Earls and Amarnath Murthy, Jul 18 2003
EXTENSIONS
Edited by Dean Hickerson, Jul 20 2003
STATUS
approved