login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A268331
Squarefree numbers differing by more than 2 from any other squarefree number.
6
26, 170, 362, 530, 638, 727, 874, 926, 962, 1027, 1126, 1423, 1574, 1774, 1814, 1826, 1861, 2059, 2402, 2526, 2674, 2726, 2782, 2874, 3178, 3482, 3574, 3719, 3774, 3970, 4166, 4474, 4490, 4526, 4654, 5042, 5045, 5374, 5426, 5914, 5930, 6026, 6173, 6254, 6274, 6326, 6418, 6626, 6649, 6726, 7138, 7174
OFFSET
1,1
LINKS
Christopher E. Thompson, Table of n, a(n) for n = 1..1000
EXAMPLE
26 is a term because 26 is squarefree but 24,25,27,28 are not.
MATHEMATICA
SequencePosition[Table[If[SquareFreeQ[n], 1, 0], {n, 7200}], {0, 0, 1, 0, 0}][[All, 1]]+2 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 19 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved