login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A318884 a(n) is the sum of absolute values of the coefficients in the n-th cyclotomic polynomial. 2
2, 2, 3, 2, 5, 3, 7, 2, 3, 5, 11, 3, 13, 7, 7, 2, 17, 3, 19, 5, 9, 11, 23, 3, 5, 13, 3, 7, 29, 7, 31, 2, 15, 17, 17, 3, 37, 19, 17, 5, 41, 9, 43, 11, 7, 23, 47, 3, 7, 5, 23, 13, 53, 3, 17, 7, 25, 29, 59, 7, 61, 31, 9, 2, 31, 15, 67, 17, 31, 17, 71, 3, 73, 37, 7, 19, 31, 17, 79, 5, 3, 41, 83, 9, 41, 43, 39, 11, 89 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Differs from A051664 in the positions given by A013590, thus for the first time at n=105, where a(105) = 35, while A051664(105) = 33 as the 105th cyclotomic polynomial is the first one that has a coefficient other than 1, 0, or -1.
LINKS
Eric Weisstein's World of Mathematics, Cyclotomic Polynomial
MATHEMATICA
Array[Total@ Abs@ CoefficientList[Cyclotomic[#, x], x] &, 89] (* Michael De Vlieger, Sep 10 2018 *)
PROG
(PARI) A318884(n) = vecsum(apply(abs, Vec(polcyclo(n)))); \\ Antti Karttunen, Sep 10 2018
CROSSREFS
Sequence in context: A238480 A111089 A051664 * A280990 A327667 A256267
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 10 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 09:18 EDT 2024. Contains 371935 sequences. (Running on oeis4.)