OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
14 is a term because there is no square strictly between 1 and 14 that divides 14.
MATHEMATICA
q[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, e == {2} || AllTrue[e, # == 1 &]]; Select[Range[120], q] (* Amiram Eldar, Jul 02 2025 *)
PROG
(PARI) isok(n) = {fordiv (n, d, if (issquare(d) && (d>1) && (d<n), return (0))); return (1); } \\ Michel Marcus, Jun 08 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lee A. Newberg, Oct 30 2009
STATUS
approved
