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.

A369687 a(n) = Sum_{p|n, p prime} p^phi(n/p).

Original entry on oeis.org

0, 2, 3, 2, 5, 7, 7, 4, 9, 21, 11, 13, 13, 71, 106, 16, 17, 73, 19, 41, 778, 1035, 23, 97, 625, 4109, 729, 113, 29, 362, 31, 256, 59170, 65553, 18026, 145, 37, 262163, 531610, 881, 41, 4874, 43, 1145, 22186, 4194327, 47, 6817, 117649, 1049201, 43047010, 4265, 53, 262873, 9780266, 6497
Offset: 1

Views

Author

Wesley Ivan Hurt, Jan 28 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSum[n, #^EulerPhi[n/#] &, PrimeQ[#] &], {n, 60}]
  • Python
    from sympy import totient, primefactors
    def A369687(n): return sum(p**totient(n//p) for p in primefactors(n)) # Chai Wah Wu, Jan 28 2024

Formula

a(p^k) = p^((p-1)*p^(k-2)+floor(1/k)/p) for p prime and k>=1. - Wesley Ivan Hurt, Jul 16 2025

A369907 a(n) = n * Sum_{p|n, p prime} omega(n/p) / p.

Original entry on oeis.org

0, 0, 0, 2, 0, 5, 0, 4, 3, 7, 0, 16, 0, 9, 8, 8, 0, 21, 0, 24, 10, 13, 0, 32, 5, 15, 9, 32, 0, 62, 0, 16, 14, 19, 12, 60, 0, 21, 16, 48, 0, 82, 0, 48, 39, 25, 0, 64, 7, 45, 20, 56, 0, 63, 16, 64, 22, 31, 0, 154, 0, 33, 51, 32, 18, 122, 0, 72, 26, 118, 0, 120, 0, 39
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 05 2024

Keywords

Crossrefs

Cf. A001221 (omega), A345354, A345355, A369744.
Cf. also A369894, A369909, A369779.

Programs

  • Mathematica
    Table[n*DivisorSum[n, PrimeNu[n/#]/# &, PrimeQ[#] &], {n, 100}]
  • PARI
    A369907(n) = if(1==n, 0, my(f=factor(n)); n*sum(i=1, #f~, (omega(n/f[i, 1])/f[i,1]))); \\ Antti Karttunen, Jan 23 2025

Formula

a(p^k) = p^(k-1), for p prime and k >= 1. - Wesley Ivan Hurt, Jun 26 2024

A369782 a(n) = Sum_{p|n, p prime} n^phi(n/p).

Original entry on oeis.org

0, 2, 3, 4, 5, 42, 7, 64, 81, 10010, 11, 288, 13, 7529550, 50850, 65536, 17, 34012548, 19, 160400, 85766562, 26559922791446, 23, 663552, 390625, 95428956661682202, 387420489, 481891088, 29, 656100810900, 31, 1099511627776, 1531578985265538, 3189059870763703892770850
Offset: 1

Views

Author

Wesley Ivan Hurt, Jan 31 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[DivisorSum[n, n^EulerPhi[n/#] &, PrimeQ[#] &], {n, 40}]

Formula

a(p^k) = p^(k*(p-1)*p^(k-2)+floor(1/k)/p) for p prime and k>=1. - Wesley Ivan Hurt, Jul 16 2025
Showing 1-3 of 3 results.