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.

A364813 a(n) = Product_{k=2..n} k^ord(n, k) where ord(n, k) = 0 if k does not divide n, otherwise ord(n, k) = e where e is such that k^e divides n but k^(e + 1) does not.

Original entry on oeis.org

1, 2, 3, 16, 5, 36, 7, 256, 81, 100, 11, 3456, 13, 196, 225, 32768, 17, 17496, 19, 16000, 441, 484, 23, 1327104, 625, 676, 6561, 43904, 29, 810000, 31, 2097152, 1089, 1156, 1225, 362797056, 37, 1444, 1521, 10240000, 41, 3111696, 43, 170368, 273375, 2116, 47, 8153726976, 2401, 625000
Offset: 1

Views

Author

Michel Marcus, Oct 21 2023

Keywords

Comments

a(n) is divisible by n and a(p) = p if p is prime. More general, if the base of the factors of the product is restricted to prime numbers then the positive integers are generated according to the fundamental theorem of arithmetic. - Peter Luschny, Apr 01 2025

Crossrefs

Cf. A363838 (also uses gamma), A000027, A005451, A381885 (a(n)/n).

Programs

  • Maple
    with(padic): a := n -> local k; mul(k^ordp(n, k), k = 2.. n): seq(a(n), n = 1..50); # Peter Luschny, Apr 01 2025
  • Mathematica
    Table[Product[k^IntegerExponent[n, k], {k, 2, n}], {n, 1, 50}] (* Peter Luschny, Apr 01 2025 *)
  • PARI
    f(n, b) = sum(i=1, logint(n, b), n\b^i);
    d(n,b) = f(n,b)-f(n-1,b);
    a(n) = prod(b=2, n, b^d(n,b));

Formula

a(n) = Product_{b=2..n} b^d(n, b) where d(n, b) = gamma(n, b) - gamma(n-1, b) and gamma(n, b) = Sum_{i>=1} floor(n/b^i).

Extensions

More explicit name from Peter Luschny, Apr 01 2025