OFFSET
1,1
MAPLE
isA013591 := proc(n)
numtheory[cyclotomic](n, x) ;
{coeffs(%, x)} ;
map(abs, %) ;
if % minus {1, 2} = {} then
false;
else
true;
end if;
end proc:
for n from 1 do
if isA013591(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 ]>2 ]; If[ Length[ t ]!=0, Print[ j ] ] ]; S[ 2822 ]
Select[Range[3000], Max[Abs[CoefficientList[Cyclotomic[#, x], x]]]>2&] (* Harvey P. Dale, Feb 27 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter T. Wang (peterw(AT)cco.caltech.edu)
EXTENSIONS
Definition clarified by Harvey P. Dale, Feb 27 2015
STATUS
approved