This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A300331 #16 Mar 09 2018 04:44:13 %S A300331 5,8,9,10,11,16,17,18,20,25,26,29,32,34,36,40,41,45,50,53,55,58,64,65, %T A300331 68,72,74,81,82,85,89,90,98,100,101,104,106,113,116,122,125,128,130, %U A300331 136,137,144,145,146,149,153,160,162,164,170,173,176,178,180,185 %N A300331 Integers represented by a cyclotomic binary form Phi{k}(x,y) with positive integers x and y where max(x, y) >= 2 and the index k is not prime. %C A300331 A cyclotomic binary form is a homogeneous polynomial in two variables of the form p(x, y) = y^phi(k)*Phi(k, x/y) where Phi(k, z) is a cyclotomic polynomial of index k and phi is Euler's totient function. An integer m is represented by p if p(x,y) = m has an integer solution. %C A300331 m is in this sequence if and only if m is in A296095 but not in A300332. This means m can be represented by a cyclotomic binary form but not as m = Sum_{j in 0:p-1} x^j*y^(p-j-1) with p prime. %H A300331 Étienne Fouvry, Claude Levesque, Michel Waldschmidt, <a href="https://arxiv.org/abs/1712.09019">Representation of integers by cyclotomic binary forms</a>, arXiv:1712.09019 [math.NT], 2017. %e A300331 1037 is in this sequence because 1037 = f(26,19) = f(29,14) with f(x,y) = y^2 + x^2 are the only representations of 1037 by a cyclotomic binary form (which has index 4). %e A300331 1031 is not in this sequence because 1031 = f(5,2) where f(x,y) = x^4 + y*x^3 + y^2*x^2 + y^3*x + y^4 (which has index 5). %o A300331 (Julia) %o A300331 using Nemo %o A300331 function isA300331(n) %o A300331 R, z = PolynomialRing(ZZ, "z") %o A300331 N = QQ(n) %o A300331 # Bounds from Fouvry & Levesque & Waldschmidt %o A300331 logn = log(n)^1.161 %o A300331 K = Int(floor(5.383*logn)) %o A300331 M = Int(floor(2*(n/3)^(1/2))) %o A300331 r = false %o A300331 k = 2 %o A300331 while k <= K %o A300331 if k == 7 %o A300331 K = Int(ceil(4.864*logn)) %o A300331 M = Int(ceil(2*(n/11)^(1/4))) %o A300331 end %o A300331 e = Int(eulerphi(ZZ(k))) %o A300331 c = cyclotomic(k, z) %o A300331 for y in 2:M, x in 1:y %o A300331 if N == y^e*subst(c, QQ(x, y)) %o A300331 isprime(ZZ(k)) && return false %o A300331 r = true %o A300331 end %o A300331 end %o A300331 k += 1 %o A300331 end %o A300331 return r %o A300331 end %o A300331 A300331list(upto) = [n for n in 1:upto if isA300331(n)] %o A300331 println(A300331list(185)) %Y A300331 Cf. A296095, A293654, A299930, A300332. %K A300331 nonn %O A300331 1,1 %A A300331 _Peter Luschny_, Mar 06 2018