cp's OEIS Frontend

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.

A105603 Sylvester-Jacobsthal cyclotomic numbers.

Original entry on oeis.org

1, 1, 3, 5, 11, 7, 43, 17, 57, 31, 683, 13, 2731, 127, 331, 257, 43691, 73, 174763, 205, 5419, 2047, 2796203, 241, 1016801, 8191, 261633, 3277, 178956971, 151, 715827883, 65537, 1397419, 131071, 24214051, 4033, 45812984491, 524287, 22366891, 61681
Offset: 1

Views

Author

Paul Barry, Apr 15 2005

Keywords

Comments

Primitive parts of Jacobsthal numbers A001045.

Crossrefs

Cf. A020501, A001045, A061446 (with references), A008555.

Formula

a(n)=product{k=1..n-1, if(gcd(n, k)=1, 2+exp(2*pi*I*k/n), 1)}, I=sqrt(-1)
a(n) = (-1)^phi(n)*cyclotomic(n, -2) for n >= 2 (for n = 1 this would be 3), with phi(n) = A000010(n). - Wolfdieter Lang, Jan 19 2015