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-4 of 4 results.

A297793 a(n) = Sum_{d|n} min(d, n/d)^3.

Original entry on oeis.org

1, 2, 2, 10, 2, 18, 2, 18, 29, 18, 2, 72, 2, 18, 56, 82, 2, 72, 2, 146, 56, 18, 2, 200, 127, 18, 56, 146, 2, 322, 2, 146, 56, 18, 252, 416, 2, 18, 56, 396, 2, 504, 2, 146, 306, 18, 2, 632, 345, 268, 56, 146, 2, 504, 252, 832, 56, 18, 2, 882, 2, 18, 742, 658, 252
Offset: 1

Views

Author

Seiichi Manyama, Jan 06 2018

Keywords

Crossrefs

Sum_{d|n} min(d, n/d)^k: A117004 (k=1), A297792 (k=2), this sequence (k=3), A297794 (k=4), A297795 (k=5).
Cf. A259825.

Programs

  • Mathematica
    a[n_] := DivisorSum[n, Min[#, n/#]^3 &]; Array[a, 65] (* Amiram Eldar, Oct 04 2023*)
  • PARI
    {a(n) = sumdiv(n, d, min(d, n/d)^3)}

Formula

a(n) = - Sum_{k in Z} (k^2-n)*H(4*n-k^2) where H() is the Hurwitz class number.

A297794 a(n) = Sum_{d|n} min(d, n/d)^4.

Original entry on oeis.org

1, 2, 2, 18, 2, 34, 2, 34, 83, 34, 2, 196, 2, 34, 164, 290, 2, 196, 2, 546, 164, 34, 2, 708, 627, 34, 164, 546, 2, 1446, 2, 546, 164, 34, 1252, 2004, 2, 34, 164, 1796, 2, 2788, 2, 546, 1414, 34, 2, 3300, 2403, 1284, 164, 546, 2, 2788, 1252, 5348, 164, 34, 2, 4550, 2
Offset: 1

Views

Author

Seiichi Manyama, Jan 06 2018

Keywords

Crossrefs

Sum_{d|n} min(d, n/d)^k: A117004 (k=1), A297792 (k=2), A297793 (k=3), this sequence (k=4), A297795 (k=5).

Programs

  • Mathematica
    a[n_] := DivisorSum[n, Min[#, n/#]^4 &]; Array[a, 60] (* Amiram Eldar, Oct 04 2023 *)
  • PARI
    {a(n) = sumdiv(n, d, min(d, n/d)^4)}

A297795 a(n) = Sum_{d|n} min(d, n/d)^5.

Original entry on oeis.org

1, 2, 2, 34, 2, 66, 2, 66, 245, 66, 2, 552, 2, 66, 488, 1090, 2, 552, 2, 2114, 488, 66, 2, 2600, 3127, 66, 488, 2114, 2, 6802, 2, 2114, 488, 66, 6252, 10376, 2, 66, 488, 8364, 2, 16104, 2, 2114, 6738, 66, 2, 18152, 16809, 6316, 488, 2114, 2, 16104, 6252, 35728, 488
Offset: 1

Views

Author

Seiichi Manyama, Jan 06 2018

Keywords

Crossrefs

Sum_{d|n} min(d, n/d)^k: A117004 (k=1), A297792 (k=2), A297793 (k=3), A297794 (k=4), this sequence (k=5).
Cf. A259825.

Programs

  • Mathematica
    f[n_] := Block[{d = Divisors@n}, Plus @@ (Min[#, n/#]^5 & /@ d)]; Array[f, 57] (* Robert G. Wilson v, Jan 06 2018 *)
  • PARI
    {a(n) = sumdiv(n, d, min(d, n/d)^5)}

Formula

a(n) = - Sum_{k in Z} (k^4-3*n*k^2+n^2)*H(4*n-k^2) where H() is the Hurwitz class number.

A297841 a(n) = Sum_{d|n} max(d, n/d)^2.

Original entry on oeis.org

1, 8, 18, 36, 50, 90, 98, 160, 171, 250, 242, 392, 338, 490, 500, 656, 578, 882, 722, 1050, 980, 1210, 1058, 1640, 1275, 1690, 1620, 2058, 1682, 2522, 1922, 2688, 2420, 2890, 2548, 3726, 2738, 3610, 3380, 4328, 3362, 4900, 3698, 5082, 4662, 5290, 4418, 6688
Offset: 1

Views

Author

Seiichi Manyama, Jan 07 2018

Keywords

Crossrefs

Sum_{d|n} max(d, n/d)^k: A117003 (k=1), this sequence (k=2), A297842 (k=3), A297843 (k=4), A297844 (k=5).

Programs

  • Maple
    f:= n -> add(max(d,n/d)^2, d = numtheory:-divisors(n)):
    map(f, [$1..100]); # Robert Israel, Jan 10 2018
  • Mathematica
    f[n_] := Block[{d = Divisors@ n}, Plus @@ (Max[#, n/#]^2 & /@ d)]; Array[f, 50] (* Robert G. Wilson v, Jan 07 2018 *)
  • PARI
    {a(n) = sumdiv(n, d, max(d, n/d)^2)}

Formula

a(n) = 2*A001157(n) - A297792(n).
Sum_{k=1..n} a(k) ~ (2*zeta(3)/3) * n^3. - Amiram Eldar, Jan 12 2025
Showing 1-4 of 4 results.