OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
n=8870024: squares dividing n+j (j=0...8) i.e. 9 consecutive integers are as follows {4,25,121,841,4,49,961,9,16}
MATHEMATICA
s8[x_] := Apply[Plus, Table[Abs[MoebiusMu[x+j]], {j, 0, 7}]] If[Equal[s, 0], Print[n]], {n, 1000000, 100000000}]
Flatten[Position[Partition[SquareFreeQ/@Range[91000000], 8, 1], _?(Union[#]=={False}&), {1}, Heads->False]]
PROG
(PARI) for(n=1, 10^8, forstep(k=7, 0, -1, issquarefree(n+k)&&(n+=k)&&next(2)); print1(n", ")) \\ M. F. Hasler, Feb 03 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 18 2002
STATUS
approved