OFFSET
1,1
COMMENTS
A polynomial is called flat iff it is of height 1, where the height is the largest absolute value of the coefficients.
A cyclotomic polynomial phi(n) is said of order 3 iff n=pqr with distinct (usually odd) primes p,q,r.
LINKS
Robin Visser, Table of n, a(n) for n = 1..10000
Nathan Kaplan, Flat cyclotomic polynomials of order three, J. Number Theory 127 (2007), 118-126.
EXAMPLE
a(1)=30=2*3*5 is the smallest product of three distinct primes, and Phi[30] = X^8 + X^7 - X^5 - X^4 - X^3 + X + 1 has only coefficients in {0,1,-1}.
a(19)=231=3*7*11 is the smallest odd product of three distinct primes p,q,r such that Phi[pqr] is flat.
PROG
(PARI) for( pqr=1, 999, my(f=factor(pqr)); #f~==3 & vecmax(f[, 2])==1 & vecmax(abs(Vec(polcyclo(pqr))))==1 & print1(pqr", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, May 11 2009, May 14 2009
STATUS
approved