OFFSET
1,1
LINKS
Peter Luschny, Table of n, a(n) for n = 1..185
Étienne Fouvry, Claude Levesque, and Michel Waldschmidt, Representation of integers by cyclotomic binary forms, arXiv:1712.09019 [math.NT], 2017 and Acta Arithmetica, online 15 March 2018.
PROG
(PARI)
isA325870(n) =
{
my(K, M, phi);
K = floor(5.383*log(n)^1.161);
M = floor(2*sqrt(n/3));
for(k = 3, K,
phi = eulerphi(k);
if(phi >= 4,
for(y = 1, M,
for(x = y + 1, M,
if(n == y^phi*polcyclo(k, x/y),
return(1)
)))));
return(0)
}
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, May 26 2019
EXTENSIONS
At the suggestion of Michel Waldschmidt
STATUS
approved