OFFSET
1,1
COMMENTS
A cyclotomic binary form over Z is a homogeneous polynomial in two variables which has the form f(x, y) = y^EulerPhi(k)*CyclotomicPolynomial(k, x/y) where k is some integer >= 3. An integer n is in this sequence if f(x,y) = n has more than one integer solution where f is a cyclotomic binary form and x and y are prime numbers with 0 < y < x.
LINKS
Étienne Fouvry, Claude Levesque, Michel Waldschmidt, Representation of integers by cyclotomic binary forms, arXiv:1712.09019 [math.NT], 2017.
PROG
(Julia)
function countA299928(n)
R, z = PolynomialRing(ZZ, "z")
K = Int(floor(5.383*log(n)^1.161)) # Bounds from
M = Int(floor(2*sqrt(n/3))) # Fouvry & Levesque & Waldschmidt
N = QQ(n); count = 0
P(u) = (p for p in u:M if isprime(ZZ(p)))
for k in 3:K
e = Int(eulerphi(ZZ(k)))
c = cyclotomic(k, z)
for y in P(2), x in P(y+1)
if N == y^e*subst(c, QQ(x, y))
count += 1
end end end
return count
end
A299964list(upto) = [n for n in 1:upto if countA299928(n) > 1]
println(A299964list(3640))
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Feb 25 2018
STATUS
approved
