OFFSET
1,1
MAPLE
isA013592 := proc(n)
numtheory[cyclotomic](n, x) ;
{coeffs(%, x)} ;
map(abs, %) ;
if % minus {1, 2, 3} = {} then
false;
else
true;
end if;
end proc:
for n from 1 do
if isA013592(n) then
print(n);
end if;
end do: # R. J. Mathar, Nov 28 2016
MATHEMATICA
S[ n_ ] := For[ j=1; t=0, j<n, j++, t=Cases[ CoefficientList[ Cyclotomic[ j, x ], x ], k_ /; Abs[ k ]>3 ]; If[ Length[ t ]!=0, Print[ j ] ] ]; S[ 4290 ]
Select[Range[6300], Max[Abs[CoefficientList[Cyclotomic[#, x], x]]]>3&] (* Harvey P. Dale, Feb 26 2015 *)
PROG
(PARI) isok(n) = my(v = Vec(polcyclo(n))); (vecmax(v) >= 4) || (vecmin(v) <= -4); \\ Michel Marcus, Feb 26 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter T. Wang (peterw(AT)cco.caltech.edu)
EXTENSIONS
Definition clarified by and more terms from Harvey P. Dale, Feb 26 2015
STATUS
approved