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.

A360722 a(n) is the sum of infinitary divisors of n that are powerful (A001694).

Original entry on oeis.org

1, 1, 1, 5, 1, 1, 1, 13, 10, 1, 1, 5, 1, 1, 1, 17, 1, 10, 1, 5, 1, 1, 1, 13, 26, 1, 37, 5, 1, 1, 1, 49, 1, 1, 1, 50, 1, 1, 1, 13, 1, 1, 1, 5, 10, 1, 1, 17, 50, 26, 1, 5, 1, 37, 1, 13, 1, 1, 1, 5, 1, 1, 10, 85, 1, 1, 1, 5, 1, 1, 1, 130, 1, 1, 26, 5, 1, 1, 1, 17
Offset: 1

Views

Author

Amiram Eldar, Feb 18 2023

Keywords

Crossrefs

Similar sequences: A183097, A360721.

Programs

  • Mathematica
    f[p_, e_] := Times @@ (p^(2^(-1 + Flatten @ Position[Reverse@IntegerDigits[e, 2], ?(# == 1 &)])) + 1) - If[OddQ[e], p, 0]; a[1] = 1; a[n] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = {my(f = factor(n), b); prod(i=1, #f~, b = binary(f[i, 2]); prod(k=1, #b, if(b[k], f[i, 1]^(2^(#b-k))+1, 1)) - if(f[i, 2]%2, f[i, 1], 0));}

Formula

Multiplicative with a(p^e) = f(p, e) if e is even, and f(p, e) - p is e is odd, where f(p, e) = Product{k>=1, e_k=1} (p^(2^k) + 1), where e = Sum_{k} e_k * 2^k is the binary representation of e, i.e., e_k is bit k of e.
a(n) <= A049417(n), with equality if and only if n is a square.
a(n) <= A183097(n), with equality if and only if n is not in A360723.