|
|
A054534
|
|
Square array giving Ramanujan sum T(n,k) = c_k(n) = Sum_{m=1..k, (m,k)=1} exp(2 Pi i m n / k), read by antidiagonals upwards (n >= 1, k >= 1).
|
|
15
|
|
|
1, 1, -1, 1, 1, -1, 1, -1, -1, 0, 1, 1, 2, -2, -1, 1, -1, -1, 0, -1, 1, 1, 1, -1, 2, -1, -1, -1, 1, -1, 2, 0, -1, -2, -1, 0, 1, 1, -1, -2, 4, -1, -1, 0, 0, 1, -1, -1, 0, -1, 1, -1, 0, 0, 1, 1, 1, 2, 2, -1, 2, -1, -4, -3, -1, -1, 1, -1, -1, 0, -1, 1, -1, 0, 0, 1, -1, 0, 1, 1, -1, -2, -1, -1, 6, 0, 0, -1, -1, 2, -1, 1, -1, 2, 0, 4, -2, -1, 0, -3, -4, -1, 0, -1, 1
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,13
|
|
COMMENTS
|
The Ramanujan sum is also known as the von Sterneck arithmetic function. Robert Daublebsky von Sterneck introduced it around 1900. - Petros Hadjicostas, Jul 20 2019
T(n, k) = c_k(n) is the sum of the n-th powers of the k-th primitive roots of unity. - Petros Hadjicostas, Jul 27 2019
|
|
REFERENCES
|
T. M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, page 160.
H. Rademacher, Collected Papers of Hans Rademacher, vol. II, MIT Press, 1974, p. 435.
S. Ramanujan, On Certain Trigonometrical Sums and their Applications in the Theory of Numbers, pp. 179-199 of Collected Papers of Srinivasa Ramanujan, Ed. G. H. Hardy et al., AMS Chelsea Publishing 2000.
R. D. von Sterneck, Ein Analogon zur additiven Zahlentheorie, Sitzungsber. Acad. Wiss. Sapientiae Math.-Naturwiss. Kl. 111 (1902), 1567-1601 (Abt. IIa).
|
|
LINKS
|
|
|
FORMULA
|
Lambert series and a consequence: Sum_{k >= 1} c_k(n) * z^k / (1 - z^k) = Sum_{s|n} s * z^s and -Sum_{k >= 1} (c_k(n) / k) * log(1 - z^k) = Sum_{s|n} z^s for |z| < 1 (using the principal value of the logarithm). - Petros Hadjicostas, Aug 15 2019
|
|
EXAMPLE
|
Array T(n,k) (with rows n >= 1 and columns k >= 1) begins as follows:
1, -1, -1, 0, -1, 1, -1, 0, 0, 1, -1, ...
1, 1, -1, -2, -1, -1, -1, 0, 0, -1, -1, ...
1, -1, 2, 0, -1, -2, -1, 0, -3, 1, -1, ...
1, 1, -1, 2, -1, -1, -1, -4, 0, -1, -1, ...
1, -1, -1, 0, 4, 1, -1, 0, 0, -4, -1, ...
1, 1, 2, -2, -1, 2, -1, 0, -3, -1, -1, ...
1, -1, -1, 0, -1, 1, 6, 0, 0, 1, -1, ...
...
|
|
MATHEMATICA
|
nmax = 14; mu[n_Integer] = MoebiusMu[n]; mu[_] = 0; t[n_, k_] := Total[ #*mu[k/#]& /@ Divisors[n]]; Flatten[ Table[ t[n-k+1, k], {n, 1, nmax}, {k, 1, n}]] (* Jean-François Alcover, Nov 14 2011, after Pari *)
TableForm[Table[t[n, k], {n, 1, 7}, {k, 1, 11}]] (* to print a table like the one in the example - Petros Hadjicostas, Jul 27 2019 *)
|
|
PROG
|
(PARI) {T(n, k) = if( n<1 || k<1, 0, sumdiv( n, d, if( k%d==0, d * moebius(k / d))))} /* Michael Somos, Dec 05 2002 */
(PARI) {T(n, k) = if( n<1 || k<1, 0, polsym( polcyclo( k), n) [n + 1])} /* Michael Somos, Mar 21 2011 */
(PARI) /*To get an array like in the example above using Michael Somos' programs:*/
{for (n=1, 20, for (k=1, 40, print1(T(n, k), ", "); ); print(); ); } /* Petros Hadjicostas, Jul 27 2019 */
|
|
CROSSREFS
|
Cf. A000010, A033999, A054532, A054533, A054535, A062570, A085097, A058384, A085639, A085906, A099837, A100051, A176742, A282634.
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|