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

A356191 a(n) is the smallest exponentially odd number that is divisible by n.

Original entry on oeis.org

1, 2, 3, 8, 5, 6, 7, 8, 27, 10, 11, 24, 13, 14, 15, 32, 17, 54, 19, 40, 21, 22, 23, 24, 125, 26, 27, 56, 29, 30, 31, 32, 33, 34, 35, 216, 37, 38, 39, 40, 41, 42, 43, 88, 135, 46, 47, 96, 343, 250, 51, 104, 53, 54, 55, 56, 57, 58, 59, 120, 61, 62, 189, 128, 65
Offset: 1

Views

Author

Amiram Eldar, Jul 29 2022

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[OddQ[e], p^e, p^(e + 1)]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = {my(f=factor(n)); prod(i=1, #f~, if(f[i,2]%2, f[i,1]^f[i,2], f[i,1]^(f[i,2]+1)))};
    
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, 1/(1 - p^2*X^2) * (1 + p*X + p^3*X^2 - p^2*X^2))[n], ", ")) \\ Vaclav Kotesovec, Sep 09 2023

Formula

Multiplicative with a(p^e) = p^e if e is odd and p^(e+1) otherwise.
a(n) = n iff n is in A268335.
a(n) = A064549(n)/A007913(n).
a(n) = n*A336643(n).
a(n) = n^2/A350390(n).
From Vaclav Kotesovec, Sep 09 2023: (Start)
Let f(s) = Product_{p prime} (1 - p^(6-5*s) + p^(7-5*s) + 2*p^(5-4*s) - p^(6-4*s) + p^(3-3*s) - p^(4-3*s) - 2*p^(2-2*s)).
Sum_{k=1..n} a(k) ~ Pi^2 * f(2) * n^2 / 24 * (log(n) + 3*gamma - 1/2 + 12*zeta'(2)/Pi^2 + f'(2)/f(2)), where
f(2) = Product_{p prime} (1 - 4/p^2 + 4/p^3 - 1/p^4) = A256392 = 0.2177787166195363783230075141194468131307977550013559376482764035236264911...,
f'(2) = f(2) * Sum_{p prime} (11*p - 5) * log(p) / (p^3 + p^2 - 3*p + 1) = f(1) * 4.7165968208567630786609552448708126340725121316268495170070986645608062483...
and gamma is the Euler-Mascheroni constant A001620. (End)

A356192 a(n) is the smallest cubefull exponentially odd number (A335988) that is divisible by n.

Original entry on oeis.org

1, 8, 27, 8, 125, 216, 343, 8, 27, 1000, 1331, 216, 2197, 2744, 3375, 32, 4913, 216, 6859, 1000, 9261, 10648, 12167, 216, 125, 17576, 27, 2744, 24389, 27000, 29791, 32, 35937, 39304, 42875, 216, 50653, 54872, 59319, 1000, 68921, 74088, 79507, 10648, 3375, 97336
Offset: 1

Views

Author

Amiram Eldar, Jul 29 2022

Keywords

Comments

First differs from A053149 and A356193 at n=16.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[OddQ[e], p^Max[e, 3], p^(e + 1)]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 50]
  • PARI
    a(n) = {my(f=factor(n)); prod(i=1, #f~, if(f[i,2]%2, f[i,1]^max(f[i,2],3), f[i,1]^(f[i,2]+1)))};

Formula

Multiplicative with a(p^e) = p^max(e,3) if e is odd and p^(e+1) otherwise.
a(n) = n iff n is in A335988.
a(n) = A356191(n) iff n is a powerful number (A001694).
Sum_{n>=1} 1/a(n) = Product_{p prime} (1 + (3*p^2-1)/(p^3*(p^2-1))) = 1.69824776889117043774... .
Sum_{k=1..n} a(k) ~ c * n^4, where c = (zeta(6)/4) * Product_{p prime} (1 - 1/p^2 + 1/p^5 - 2/p^6 + 1/p^8 + 1/p^9 - 1/p^10) = 0.1559368144... . - Amiram Eldar, Nov 13 2022

A356193 a(n) is the smallest cubefull number (A036966) that is a multiple of n.

Original entry on oeis.org

1, 8, 27, 8, 125, 216, 343, 8, 27, 1000, 1331, 216, 2197, 2744, 3375, 16, 4913, 216, 6859, 1000, 9261, 10648, 12167, 216, 125, 17576, 27, 2744, 24389, 27000, 29791, 32, 35937, 39304, 42875, 216, 50653, 54872, 59319, 1000, 68921, 74088, 79507, 10648, 3375, 97336
Offset: 1

Views

Author

Amiram Eldar, Jul 29 2022

Keywords

Comments

First differs from A053149 and A356192 at n=16.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := p^Max[e, 3]; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 50]
  • PARI
    a(n) = {my(f=factor(n)); prod(i=1, #f~, f[i,1]^max(f[i,2],3))};

Formula

Multiplicative with a(p^e) = p^max(e,3).
a(n) = n iff n is in A036966.
Sum_{n>=1} 1/a(n) = Product_{p prime} (1 + (3*p-2)/(p^3*(p-1))) = 1.76434793373691907811... . - Amiram Eldar, Jul 29 2022
Sum_{k=1..n} a(k) ~ c * n^4, where c = (zeta(3)/4) * Product_{p prime} (1 - 1/p^2 - 1/p^3 + 2/p^5 - 1/p^6 - 1/p^8 + 2/p^9 - 1/p^10) = 0.1559111567... . - Amiram Eldar, Nov 13 2022
a(n) = n * A360541(n). - Amiram Eldar, Sep 01 2023

A369760 The number of divisors of the smallest multiple of n whose prime factorization exponents are all powers of 2.

Original entry on oeis.org

1, 2, 2, 3, 2, 4, 2, 5, 3, 4, 2, 6, 2, 4, 4, 5, 2, 6, 2, 6, 4, 4, 2, 10, 3, 4, 5, 6, 2, 8, 2, 9, 4, 4, 4, 9, 2, 4, 4, 10, 2, 8, 2, 6, 6, 4, 2, 10, 3, 6, 4, 6, 2, 10, 4, 10, 4, 4, 2, 12, 2, 4, 6, 9, 4, 8, 2, 6, 4, 8, 2, 15, 2, 4, 6, 6, 4, 8, 2, 10, 5, 4, 2, 12
Offset: 1

Views

Author

Amiram Eldar, Jan 31 2024

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := 2^Ceiling[Log2[e]] + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    s(n) = {my(e=logint(n, 2)); if(n == 2^e, n, 2^(e+1))};
    a(n) = vecprod(apply(x -> s(x) + 1, factor(n)[, 2]));

Formula

a(n) = A000005(A356194(n)).
Multiplicative with a(p^e) = 2^ceiling(log_2(e)) + 1.
a(n) >= A000005(n), with equality if and only if n is in A138302.

A369761 The sum of divisors of the smallest multiple of n whose prime factorization exponents are all powers of 2.

Original entry on oeis.org

1, 3, 4, 7, 6, 12, 8, 31, 13, 18, 12, 28, 14, 24, 24, 31, 18, 39, 20, 42, 32, 36, 24, 124, 31, 42, 121, 56, 30, 72, 32, 511, 48, 54, 48, 91, 38, 60, 56, 186, 42, 96, 44, 84, 78, 72, 48, 124, 57, 93, 72, 98, 54, 363, 72, 248, 80, 90, 60, 168, 62, 96, 104, 511, 84
Offset: 1

Views

Author

Amiram Eldar, Jan 31 2024

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := (p^(2^Ceiling[Log2[e]]+1)-1)/(p-1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    s(n) = {my(e=logint(n, 2)); if(n == 2^e, n, 2^(e+1))};
    a(n) = {my(f = factor(n)); prod(i = 1, #f~, (f[i,1]^(s(f[i,2])+1)-1)/(f[i,1]-1));}

Formula

a(n) = A000203(A356194(n)).
Multiplicative with a(p^e) = (p^(2^ceiling(log_2(e))+1)-1)/(p-1).
a(n) >= A000203(n), with equality if and only if n is in A138302.

A369762 The sum of unitary divisors of the smallest multiple of n whose prime factorization exponents are all powers of 2.

Original entry on oeis.org

1, 3, 4, 5, 6, 12, 8, 17, 10, 18, 12, 20, 14, 24, 24, 17, 18, 30, 20, 30, 32, 36, 24, 68, 26, 42, 82, 40, 30, 72, 32, 257, 48, 54, 48, 50, 38, 60, 56, 102, 42, 96, 44, 60, 60, 72, 48, 68, 50, 78, 72, 70, 54, 246, 72, 136, 80, 90, 60, 120, 62, 96, 80, 257, 84, 144
Offset: 1

Views

Author

Amiram Eldar, Jan 31 2024

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := p^(2^Ceiling[Log2[e]]) + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    s(n) = {my(e=logint(n, 2)); if(n == 2^e, n, 2^(e+1))};
    a(n) = {my(f = factor(n)); prod(i = 1, #f~, f[i,1]^s(f[i,2]) + 1);}

Formula

a(n) = A034448(A356194(n)).
Multiplicative with a(p^e) = p^(2^ceiling(log_2(e))) + 1.
a(n) >= A034448(n), with equality if and only if n is in A138302.

A372329 a(n) is the smallest multiple of n whose number of divisors is a power of 2 (A036537).

Original entry on oeis.org

1, 2, 3, 8, 5, 6, 7, 8, 27, 10, 11, 24, 13, 14, 15, 128, 17, 54, 19, 40, 21, 22, 23, 24, 125, 26, 27, 56, 29, 30, 31, 128, 33, 34, 35, 216, 37, 38, 39, 40, 41, 42, 43, 88, 135, 46, 47, 384, 343, 250, 51, 104, 53, 54, 55, 56, 57, 58, 59, 120, 61, 62, 189, 128, 65
Offset: 1

Views

Author

Amiram Eldar, Apr 28 2024

Keywords

Crossrefs

Differs from A102631 at n = 8, 24, 27, 32, 40, 54, 56, 64, ... .

Programs

  • Mathematica
    f[p_, e_] := p^(2^Ceiling[Log2[e + 1]] - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    s(n) = {my(e=logint(n + 1, 2)); if(n + 1 == 2^e, n, 2^(e+1) - 1)};
    a(n) = {my(f=factor(n)); prod(i=1, #f~, f[i, 1]^s(f[i, 2]))};

Formula

Multiplicative with a(p^e) = p^(2^ceiling(log_2(e+1)) - 1).
a(n) = n * A372328(n).
a(n) = n if and only if n is in A036537.
a(n) <= n^2, with equality if and only if n = 1.

A365297 a(n) is the smallest number k such that k*n is a number whose prime factorization exponents are all powers of 2 (A138302).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 3, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Amiram Eldar, Aug 31 2023

Keywords

Comments

First differs from A270419 at n = 128.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := p^(2^Ceiling[Log2[e]] - e); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    s(n) = {my(e = logint(n, 2)); if(n == 2^e, 0, 2^(e+1) - n)};
    a(n) = {my(f = factor(n)); prod(i = 1, #f~, f[i, 1]^s(f[i, 2]))};

Formula

Multiplicative with a(p^e) = p^(2^ceiling(log_2(e)) - e).
a(n) = A356194(n)/n.
a(n) = 1 if and only if n is in A138302.
Showing 1-8 of 8 results.