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.

Showing 1-3 of 3 results.

A372619 Square array T(n,k), n >= 1, k >= 1, read by antidiagonals downwards, where T(n,k) = 1/(phi(k)) * Sum_{j=1..n} phi(k*j).

Original entry on oeis.org

1, 1, 2, 1, 3, 4, 1, 2, 5, 6, 1, 3, 5, 9, 10, 1, 2, 5, 7, 13, 12, 1, 3, 4, 9, 11, 17, 18, 1, 2, 6, 6, 13, 14, 23, 22, 1, 3, 4, 10, 11, 17, 20, 31, 28, 1, 2, 5, 6, 14, 13, 23, 24, 37, 32, 1, 3, 5, 9, 10, 20, 19, 31, 33, 45, 42, 1, 2, 5, 7, 13, 12, 26, 23, 37, 37, 55, 46
Offset: 1

Views

Author

Seiichi Manyama, May 07 2024

Keywords

Examples

			Square array T(n,k) begins:
   1,  1,  1,  1,  1,  1,  1,  1,  1,  1, ...
   2,  3,  2,  3,  2,  3,  2,  3,  2,  3, ...
   4,  5,  5,  5,  4,  6,  4,  5,  5,  5, ...
   6,  9,  7,  9,  6, 10,  6,  9,  7,  9, ...
  10, 13, 11, 13, 11, 14, 10, 13, 11, 14, ...
  12, 17, 14, 17, 13, 20, 12, 17, 14, 18, ...
  18, 23, 20, 23, 19, 26, 19, 23, 20, 24, ...
		

Crossrefs

Main diagonal gives A070639.

Programs

  • Mathematica
    T[n_, k_] := Sum[EulerPhi[k*j], {j, 1, n}] / EulerPhi[k]; Table[T[k, n-k+1], {n, 1, 12}, {k, 1, n}] // Flatten (* Amiram Eldar, May 09 2024 *)
  • PARI
    T(n, k) = sum(j=1, n, eulerphi(k*j))/eulerphi(k);

Formula

T(n,k) ~ (3/Pi^2) * c(k) * n^2, where c(k) = A078615(k)/A322360(k) is the multiplicative function defined by c(p^e) = p^2/(p^2-1). - Amiram Eldar, May 09 2024

A372633 a(n) = Sum_{j=1..n} Sum_{k=1..n} phi(j*k).

Original entry on oeis.org

1, 5, 19, 47, 115, 183, 369, 585, 927, 1271, 2021, 2557, 3817, 4813, 6101, 7749, 10581, 12381, 16395, 19147, 22855, 26795, 33901, 38141, 46081, 52729, 61711, 69487, 83851, 90731, 108341, 121749, 136929, 152065, 171097, 185257, 215101, 236377, 261553, 283153, 323993
Offset: 1

Views

Author

Seiichi Manyama, May 08 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Sum[EulerPhi[i*j], {i, 1, n}, {j, 1, n}], {n, 1, 50}] (* Vaclav Kotesovec, May 08 2024 *)
    s = 1; Join[{1}, Table[s += EulerPhi[n^2] + 2*Sum[EulerPhi[j*n], {j, 1, n-1}], {n, 2, 50}]] (* Vaclav Kotesovec, May 08 2024 *)
  • PARI
    a(n) = sum(j=1, n, sum(k=1, n, eulerphi(j*k)));

Formula

a(n) ~ c * n^4, where c = A065464 / 4 = 0.107062376419... . - Amiram Eldar, May 09 2024

A372608 a(n) = Sum_{k=1..n} phi(n*k).

Original entry on oeis.org

1, 3, 10, 18, 44, 40, 114, 124, 198, 192, 430, 292, 708, 540, 704, 888, 1552, 954, 2178, 1456, 1980, 2080, 3806, 2216, 4220, 3480, 4734, 4056, 7588, 3560, 9270, 6960, 7920, 7840, 9936, 7296, 15588, 10980, 13056, 11120, 21240, 10128, 24570, 16360, 17880, 19360, 32062
Offset: 1

Views

Author

Seiichi Manyama, May 07 2024

Keywords

Crossrefs

Main diagonal of A372606.

Programs

  • Mathematica
    Table[Sum[EulerPhi[n*k], {k, 1, n}], {n, 1, 50}] (* Vaclav Kotesovec, Aug 04 2025 *)
  • PARI
    a(n) = sum(k=1, n, eulerphi(k*n));

Formula

a(n) = A372606(n,n).
a(n) = A000010(n) * A070639(n).
Sum_{k=1..n} a(k) ~ c * n^4, where c = 3*A065463/(4*Pi^2) = 0.053531188209636805... - Vaclav Kotesovec, Aug 04 2025
Showing 1-3 of 3 results.