OFFSET
1,2
COMMENTS
The sequence complements the set of values in the linked table. The sequence contains all squares >= 1.
LINKS
Ruud H.G. van Tol, Table of n, a(n) for n = 1..160
Carl Pomerance and Andreas Weingartner, Exceptions to the Erdős-Straus-Schinzel conjecture, arXiv:2511.16817 [math.NT], 2026.
Alan Swett, Alternative Calculation of S(n), 1999.
Alan Swett, Table of Values of S(n), 1999.
FORMULA
a(n) = {0, 1, 4, 9} (mod 12).
PROG
(PARI) first(nn, m=(nn\2+12)^3)= my(u=Map()); for(n=1, m, foreach((divisors(n^2)*-4)%(4*n-1), k, mapisdefined(u, k) || mapput(~u, k, 0))); [i|i<-[1..vecmax(Vec(u))], !mapisdefined(u, i)][1..nn]; \\ m is heuristic
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Ruud H.G. van Tol, Jun 07 2026
STATUS
approved
