login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Odd numbers k such that the cyclotomic polynomial Phi(k,x) has height 1, i.e., whose coefficients are all -1, 0, or 1.
2

%I #7 Jul 07 2024 08:02:06

%S 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,

%T 49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,

%U 95,97,99,101,103,107,109,111,113,115,117,119,121,123,125,127,129,131,133,135,137,139,141,143,145,147,149,151

%N Odd numbers k such that the cyclotomic polynomial Phi(k,x) has height 1, i.e., whose coefficients are all -1, 0, or 1.

%H Antti Karttunen, <a href="/A374137/b374137.txt">Table of n, a(n) for n = 1..12000</a>

%o (PARI) isA374137 = A374136;

%Y Cf. A374136 (characteristic function).

%Y Setwise difference A005408 \ A013590.

%Y Subsequences: A152955, A117223, A117318.

%Y Appears to be a subsequence of A089684, from which this differs for the first time at n=125, where a(125) = 257, which misses A089684(125) = 255.

%K nonn

%O 1,2

%A _Antti Karttunen_, Jul 06 2024