OFFSET
0,2
COMMENTS
Or, sum of any two terms is a squarefree number.
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..1800
FORMULA
It can easily be proved that a(n) == 1 mod 4 for all n > 3.
EXAMPLE
13 is a member as 13 + 1, 13 + 2, 13 + 4, 13 + 9 are all squarefree.
MATHEMATICA
a[0] = 1; a[n_] := a[n] = Module[{t = Array[a, n, 0], k = a[n - 1] + 1}, While[AnyTrue[t, ! SquareFreeQ[k + #] &], k++]; k]; Array[a, 100, 0] (* Amiram Eldar, Aug 21 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 03 2002
EXTENSIONS
Edited by Sam Alexander, Dec 12 2003
STATUS
approved