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

A034444 a(n) is the number of unitary divisors of n (d such that d divides n, gcd(d, n/d) = 1).

Original entry on oeis.org

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

Views

Author

Keywords

Comments

If n = Product p_i^a_i, d = Product p_i^c_i is a unitary divisor of n if each c_i is 0 or a_i.
Also the number of squarefree divisors of n. - Labos Elemer
Also number of divisors of the squarefree kernel of n: a(n) = A000005(A007947(n)). - Reinhard Zumkeller, Jul 19 2002
Also shadow transform of pronic numbers A002378.
For n >= 1 define an n X n (0,1) matrix A by A[i,j] = 1 if lcm(i,j) = n, A[i,j] = 0 if lcm(i,j) <> n for 1 <= i,j <= n. a(n) is the rank of A. - Yuval Dekel (dekelyuval(AT)hotmail.com), Aug 11 2003
a(n) is also the number of solutions to x^2 - x == 0 (mod n). - Yuval Dekel (dekelyuval(AT)hotmail.com), Sep 21 2003
a(n) is the number of squarefree divisors of n, but in general the set of unitary divisors of n is not the set of squarefree divisors (compare the rows of A077610 and A206778). - Jaroslav Krizek, May 04 2009
Row lengths of the triangles in A077610 and in A206778. - Reinhard Zumkeller, Feb 12 2012
a(n) is also the number of distinct residues of k^phi(n) (mod n), k=0..n-1. - Michel Lagneau, Nov 15 2012
a(n) is the number of irreducible fractions y/x that satisfy x*y=n (and gcd(x,y)=1), x and y positive integers. - Luc Rousseau, Jul 09 2017
a(n) is the number of (x,y) lattice points satisfying both x*y=n and (x,y) is visible from (0,0), x and y positive integers. - Luc Rousseau, Jul 10 2017
Conjecture: For any nonnegative integer k and positive integer n, the sum of the k-th powers of the unitary divisors of n is divisible by the sum of the k-th powers of the odd unitary divisors of n (note that this sequence lists the sum of the 0th powers of the unitary divisors of n). - Ivan N. Ianakiev, Feb 18 2018
a(n) is the number of one-digit numbers, k, when written in base n such that k and k^2 end in the same digit. - Matthew Scroggs, Jun 01 2018
Dirichlet convolution of A271102 and A000005. - Vaclav Kotesovec, Apr 08 2019
Conjecture: Let b(i; n), n > 0, be multiplicative sequences for some fixed integer i >= 0 with b(i; p^e) = (Sum_{k=1..i+1} A164652(i, k) * e^(k-1)) * (i+2) / (i!) for prime p and e > 0. Then we have Dirichlet generating functions: Sum_{n > 0} b(i; n) / n^s = (zeta(s))^(i+2) / zeta((i+2) * s). Examples for i=0 this sequence, for i=1 A226602, and for i=2 A286779. - Werner Schulte, Feb 17 2022
The smallest integer with 2^m unitary divisors, or equivalently, the smallest integer with 2^m squarefree divisors, is A002110(m). - Bernard Schott, Oct 04 2022

Examples

			a(12) = 4 because the four unitary divisors of 12 are 1, 3, 4, 12, and also because the four squarefree divisors of 12 are 1, 2, 3, 6.
		

References

  • R. K. Guy, Unsolved Problems in Number Theory, Sect. B3.

Crossrefs

Sum of the k-th powers of the squarefree divisors of n for k=0..10: this sequence (k=0), A048250 (k=1), A351265 (k=2), A351266 (k=3), A351267 (k=4), A351268 (k=5), A351269 (k=6), A351270 (k=7), A351271 (k=8), A351272 (k=9), A351273 (k=10).
Sequences of the form n^k * Product_ {p|n, p prime} (1 + 1/p^k) for k=0..10: this sequence (k=0), A001615 (k=1), A065958 (k=2), A065959 (k=3), A065960 (k=4), A351300 (k=5), A351301 (k=6), A351302 (k=7), A351303 (k=8), A351304 (k=9), this sequence (k=10).
Cf. A020821 (Dgf at s=2), A177057 (Dgf at s=4).

Programs

  • Haskell
    a034444 = length . a077610_row  -- Reinhard Zumkeller, Feb 12 2012
    
  • Magma
    [#[d:d in Divisors(n)|Gcd(d,n div d) eq 1]:n in [1..110]]; // Marius A. Burtea, Jan 11 2020
    
  • Magma
    [&+[Abs(MoebiusMu(d)):d in Divisors(n)]:n in [1..110]]; // Marius A. Burtea, Jan 11 2020
  • Maple
    with(numtheory): for n from 1 to 200 do printf(`%d,`,2^nops(ifactors(n)[2])) od:
    with(numtheory);
    # returns the number of unitary divisors of n and a list of them
    f:=proc(n)
    local ct,i,t1,ans;
    ct:=0; ans:=[];
    t1:=divisors(n);
    for i from 1 to nops(t1) do
    d:=t1[i];
    if igcd(d,n/d)=1 then ct:=ct+1; ans:=[op(ans),d]; fi;
    od:
    RETURN([ct,ans]);
    end;
    # N. J. A. Sloane, May 01 2013
    # alternative Maple program:
    a:= n-> 2^nops(ifactors(n)[2]):
    seq(a(n), n=1..105);  # Alois P. Heinz, Jan 23 2024
    a := n -> 2^NumberTheory:-NumberOfPrimeFactors(n, distinct):  # Peter Luschny, May 13 2025
  • Mathematica
    a[n_] := Count[Divisors[n], d_ /; GCD[d, n/d] == 1]; a /@ Range[105] (* Jean-François Alcover, Apr 05 2011 *)
    Table[2^PrimeNu[n],{n,110}] (* Harvey P. Dale, Jul 14 2011 *)
  • PARI
    a(n)=1<Charles R Greathouse IV, Feb 11 2011
    
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1+X)/(1-X))[n], ", ")) \\ Vaclav Kotesovec, Sep 26 2020
    
  • Python
    from sympy import divisors, gcd
    def a(n):
        return sum(1 for d in divisors(n) if gcd(d, n//d)==1)
    # Indranil Ghosh, Apr 16 2017
    
  • Python
    from sympy import primefactors
    def a(n): return 2**len(primefactors(n))
    print([a(n) for n in range(1, 101)]) # Indranil Ghosh, Apr 16 2017
    
  • Scheme
    (define (A034444 n) (if (= 1 n) n (* 2 (A034444 (A028234 n))))) ;; Antti Karttunen, May 29 2017
    

Formula

a(n) = Sum_{d|n} abs(mu(n)) = 2^(number of different primes dividing n) = 2^A001221(n), with mu(n) = A008683(n). [Added Möbius formula. - Wolfdieter Lang, Jan 11 2020]
a(n) = Product_{ primes p|n } (1 + Legendre(1, p)).
Multiplicative with a(p^k)=2 for p prime and k>0. - Henry Bottomley, Oct 25 2001
a(n) = Sum_{d|n} tau(d^2)*mu(n/d), Dirichlet convolution of A048691 and A008683. - Benoit Cloitre, Oct 03 2002
Dirichlet generating function: zeta(s)^2/zeta(2s). - Franklin T. Adams-Watters, Sep 11 2005
Inverse Mobius transform of A008966. - Franklin T. Adams-Watters, Sep 11 2005
Asymptotically [Finch] the cumulative sum of a(n) = Sum_{n=1..N} a(n) ~ (6/(Pi^2))*N*log(N) + (6/(Pi^2))*(2*gamma - 1 - (12/(Pi^2))*zeta'(2))*N + O(sqrt(N)). - Jonathan Vos Post, May 08 2005 [typo corrected by Vaclav Kotesovec, Sep 13 2018]
a(n) = Sum_{d|n} floor(rad(d)/d), where rad is A007947 and floor(rad(n)/n) = A008966(n). - Enrique Pérez Herrero, Nov 13 2009
a(n) = A000005(n) - A048105(n); number of nonzero terms in row n of table A225817. - Reinhard Zumkeller, Jul 30 2013
G.f.: Sum_{n>0} A008966(n)*x^n/(1-x^n). - Mircea Merca, Feb 25 2014
a(n) = Sum_{d|n} lambda(d)*mu(d), where lambda is A008836. - Enrique Pérez Herrero, Apr 27 2014
a(n) = A277561(A156552(n)). - Antti Karttunen, May 29 2017
a(n) = A005361(n^2)/A005361(n). - Velin Yanev, Jul 26 2017
L.g.f.: -log(Product_{k>=1} (1 - mu(k)^2*x^k)^(1/k)) = Sum_{n>=1} a(n)*x^n/n. - Ilya Gutkovskiy, Jul 30 2018
a(n) = Sum_{d|n} A001615(d) * A023900(n/d). - Torlach Rush, Jan 20 2020
Sum_{d|n, gcd(d, n/d) = 1} a(d) * (-1)^omega(n/d) = 1. - Amiram Eldar, May 29 2020
a(n) = lim_{k->oo} A000005(n^(2*k))/A000005(n^k). - Velin Yanev and Amiram Eldar, Jan 10 2025

Extensions

More terms from James Sellers, Jun 20 2000

A322327 a(n) = A005361(n) * A034444(n).

Original entry on oeis.org

1, 2, 2, 4, 2, 4, 2, 6, 4, 4, 2, 8, 2, 4, 4, 8, 2, 8, 2, 8, 4, 4, 2, 12, 4, 4, 6, 8, 2, 8, 2, 10, 4, 4, 4, 16, 2, 4, 4, 12, 2, 8, 2, 8, 8, 4, 2, 16, 4, 8, 4, 8, 2, 12, 4, 12, 4, 4, 2, 16, 2, 4, 8, 12, 4, 8, 2, 8, 4, 8, 2, 24, 2, 4, 8, 8, 4, 8, 2, 16, 8, 4, 2, 16, 4, 4, 4, 12, 2, 16, 4, 8, 4, 4, 4, 20, 2, 8, 8, 16
Offset: 1

Views

Author

Werner Schulte, Dec 03 2018

Keywords

Comments

Conjecture: Let k be some fixed integer and a_k(n) = A005361(n) * k^A001221(n) for n > 0 with 0^0 = 1. Then a_k(n) is multiplicative with a_k(p^e) = k*e for prime p and e > 0. For k = 0 see A000007 (offset 1), for k = 1 see A005361, for k = 2 see this sequence, for k = 3 see A226602 (offset 1), and for k = 4 see A322328.
Dirichlet inverse b(n) [= A355837(n)] is multiplicative with b(p^e) = 2 * (e mod 2) * (-1)^((e+1)/2) for prime p and e > 0.

Crossrefs

Programs

  • Mathematica
    a[n_] := If[n==1, 1, Module[{f = FactorInteger[n]}, 2^Length[f] * Times@@f[[;;,2]]]]; Array[a, 100] (* Amiram Eldar, Dec 03 2018 *)
  • PARI
    a(n) = my(f=factor(n)); vecprod(f[,2])*2^omega(n); \\ Michel Marcus, Dec 04 2018
    
  • PARI
    A322327(n) = factorback(apply(e -> e+e, factor(n)[, 2])); \\ Antti Karttunen, Jul 18 2022
    
  • Python
    from math import prod
    from sympy import factorint
    def A322327(n): return prod(e<<1 for e in factorint(n).values()) # Chai Wah Wu, Dec 26 2022

Formula

Multiplicative with a(p^e) = 2*e for prime p and e > 0.
Dirichlet g. f.: (zeta(s))^2 * zeta(2*s) / zeta(4*s).
Equals Dirichlet convolution of A000005 and A227291.
Sum_{k=1..n} a(k) ~ 15*(log(n) + 2*gamma - 1 + 12*zeta'(2)/Pi^2 - 360*zeta'(4)/Pi^4) * n / Pi^2 + 6*zeta(1/2)^2 * sqrt(n) / Pi^2, where gamma is the Euler-Mascheroni constant A001620. - Vaclav Kotesovec, Sep 20 2020
a(n) = A005361(n^2) = A286324(n^2). - Amiram Eldar, Dec 09 2023

Extensions

Data section extended up to a(100) by Antti Karttunen, Jul 18 2022

A226357 Number of ordered triples (i,j,k) with |i|,|j|,|k|,|i*j*k| <= n and gcd(i,j,k) <= 1.

Original entry on oeis.org

1, 27, 75, 147, 243, 363, 483, 651, 819, 1011, 1179, 1443, 1683, 1995, 2211, 2475, 2763, 3171, 3459, 3915, 4251, 4611, 4923, 5475, 5883, 6411, 6771, 7275, 7707, 8403, 8811, 9555, 10059, 10611, 11067, 11715, 12291, 13179, 13683, 14331, 14931, 15915, 16419
Offset: 0

Views

Author

Robert Price, Jun 04 2013

Keywords

Comments

Note that gcd(0,m) = m for any m.

Crossrefs

|i| + |j| + |k| <= n instead of |i*j*k| <= n: A100450.
This sequence (A226357) without the GCD qualifier: A226359.
Distinct sums i+j+k with the GCD qualifier: A222947.
Distinct sums i+j+k without the GCD qualifier: A222945.
Distinct products i*j*k with or without the GCD qualifier is 2n+1: A005408.
With the further restriction i,j,k >= 0 ...
Distinct sums i+j+k <= n with the GCD qualifier: A223133.
Distinct sums i+j+k <= n without the GCD qualifier: A223134.
Distinct products i*j*k with or without the GCD qualifier is n+1: A000217(n+1).
Distinct sums i+j+k with i*j*k = n with the GCD qualifier: A223135.
Distinct sums i+j+k with i*j*k = n without the GCD qualifier: A226378.
Distinct products i*j*k with i*j*k = n with or without the GCD qualifier is trivial and always 1: A000012.
Ordered triples with the product <= n with the GCD qualifier: A226001.
Ordered triples with the product <= n without the GCD qualifier: A226600.
Ordered triples with the product = n with the GCD qualifier: A226602.
Ordered triples with the product = n without the GCD qualifier: A007425.

Programs

  • Mathematica
    f[n_] := Length[Complement[Union[Flatten[Table[If[Abs[i*j*k] <=  n && GCD[i, j, k] <= 1, {i, j, k}], {i, -n, n}, {j, -n, n}, {k, -n, n}], 2]], {Null}]]; Table[f[n], {n, 0, 100}]

A322328 a(n) = A005361(n) * 4^A001221(n) for n > 0.

Original entry on oeis.org

1, 4, 4, 8, 4, 16, 4, 12, 8, 16, 4, 32, 4, 16, 16, 16, 4, 32, 4, 32, 16, 16, 4, 48, 8, 16, 12, 32, 4, 64, 4, 20, 16, 16, 16, 64, 4, 16, 16, 48, 4, 64, 4, 32, 32, 16, 4, 64, 8, 32, 16, 32, 4, 48, 16, 48, 16, 16, 4, 128, 4, 16, 32, 24, 16, 64, 4, 32, 16, 64, 4
Offset: 1

Views

Author

Werner Schulte, Dec 03 2018

Keywords

Comments

Let k be some fixed integer and a_k(n) = A005361(n) * k^A001221(n) for n > 0 with 0^0 = 1. Then a_k(n) is multiplicative with a_k(p^e) = k*e for prime p and e > 0. For k = 0 see A000007 (offset 1), for k = 1 see A005361, for k = 2 see A322327, for k = 3 see A226602 (offset 1), and for k = 4 see this sequence.

Crossrefs

Programs

  • Maple
    f:= n -> mul(4*t[2],t=ifactors(n)[2]):
    map(f, [$1..100]); # Robert Israel, Dec 07 2018
  • Mathematica
    a[n_] := If[n==1, 1, Module[{f = FactorInteger[n]}, 4^Length[f] * Times@@f[[;; , 2]]]]; Array[a, 100] (* Amiram Eldar, Dec 03 2018 *)
  • PARI
    a(n) = my(f=factor(n)); vecprod(f[,2])*4^omega(n); \\ Michel Marcus, Dec 04 2018
    
  • Python
    from math import prod
    from sympy import factorint
    def A322328(n): return prod(e<<2 for e in factorint(n).values()) # Chai Wah Wu, Dec 24 2022

Formula

Multiplicative with a(p^e) = 4*e for prime p and e > 0.
Dirichlet g.f.: (zeta(s))^4 / (zeta(2*s))^2.
Dirichlet inverse is b(n) = a(n) * A008836(n) for n > 0, and b(n) is multiplicative with b(p^e) = 4*e*(-1)^e for prime p and e > 0.
Equals Dirichlet convolution of A034444 with itself.
Equals Dirichlet convolution of A000005 with abs(A007427).

A360910 Multiplicative with a(p^e) = 3*e - 1.

Original entry on oeis.org

1, 2, 2, 5, 2, 4, 2, 8, 5, 4, 2, 10, 2, 4, 4, 11, 2, 10, 2, 10, 4, 4, 2, 16, 5, 4, 8, 10, 2, 8, 2, 14, 4, 4, 4, 25, 2, 4, 4, 16, 2, 8, 2, 10, 10, 4, 2, 22, 5, 10, 4, 10, 2, 16, 4, 16, 4, 4, 2, 20, 2, 4, 10, 17, 4, 8, 2, 10, 4, 8, 2, 40, 2, 4, 10, 10, 4, 8, 2
Offset: 1

Views

Author

Vaclav Kotesovec, Feb 25 2023

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := Times @@ ((3*Last[#] - 1) & /@ FactorInteger[n]); a[1] = 1; Array[a, 100] (* Amiram Eldar, Feb 25 2023 *)
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1+2*X^2)/(1-X)^2)[n], ", "))

Formula

Dirichlet g.f.: zeta(s)^2 * Product_{primes p} (1 + 2/p^(2*s)).
Let f(s) = Product_{primes p} (1 + 2/p^(2*s)), then Sum_{k=1..n} a(k) ~ n*(f(1)*(log(n) + 2*gamma - 1) + f'(1)), where f(1) = Product_{primes p} (1 + 2/p^2) = 2.1908700855532557963501937947188223715671192999357721091330157224657649571..., f'(1) = f(1) * Sum_{primes p} (-4*log(p)/(p^2 + 2)) = -3.559220569509264750413960031425742000438433285978558703470289340806139902... and gamma is the Euler-Mascheroni constant A001620.

A360911 Multiplicative with a(p^e) = 3*e - 2.

Original entry on oeis.org

1, 1, 1, 4, 1, 1, 1, 7, 4, 1, 1, 4, 1, 1, 1, 10, 1, 4, 1, 4, 1, 1, 1, 7, 4, 1, 7, 4, 1, 1, 1, 13, 1, 1, 1, 16, 1, 1, 1, 7, 1, 1, 1, 4, 4, 1, 1, 10, 4, 4, 1, 4, 1, 7, 1, 7, 1, 1, 1, 4, 1, 1, 4, 16, 1, 1, 1, 4, 1, 1, 1, 28, 1, 1, 4, 4, 1, 1, 1, 10, 10, 1, 1, 4
Offset: 1

Views

Author

Vaclav Kotesovec, Feb 25 2023

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := Times @@ ((3*Last[#] - 2) & /@ FactorInteger[n]); a[1] = 1; Array[a, 100] (* Amiram Eldar, Feb 25 2023 *)
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1-X+3*X^2)/(1-X)^2)[n], ", "))

Formula

Dirichlet g.f.: zeta(s)^2 * Product_{primes p} (1 - 1/p^s + 3/p^(2*s)).
Dirichlet g.f.: zeta(s) * Product_{primes p} (1 + 3/(p^s*(p^s-1))).
Sum_{k=1..n} a(k) ~ c*n, where c = Product_{primes p} (1 + 3/(p*(p-1))) = 5.092999766083306437144607885642959667401184716827970969797879646796872425...

A360909 Multiplicative with a(p^e) = 3*e + 2.

Original entry on oeis.org

1, 5, 5, 8, 5, 25, 5, 11, 8, 25, 5, 40, 5, 25, 25, 14, 5, 40, 5, 40, 25, 25, 5, 55, 8, 25, 11, 40, 5, 125, 5, 17, 25, 25, 25, 64, 5, 25, 25, 55, 5, 125, 5, 40, 40, 25, 5, 70, 8, 40, 25, 40, 5, 55, 25, 55, 25, 25, 5, 200, 5, 25, 40, 20, 25, 125, 5, 40, 25, 125
Offset: 1

Views

Author

Vaclav Kotesovec, Feb 25 2023

Keywords

Crossrefs

Cf. A005361 (multiplicative with a(p^e) = e), A000005 (e+1), A343443 (e+2), A360997 (e+3), A322327 (2*e), A048691 (2*e+1), A360908 (2*e-1), A226602 (3*e), A048785 (3*e+1), A360910 (3*e-1), this sequence (3*e+2), A360911 (3*e-2), A322328 (4*e), A360996 (5*e).

Programs

  • Mathematica
    a[n_] := Times @@ ((3*Last[#] + 2) & /@ FactorInteger[n]); a[1] = 1; Array[a, 100] (* Amiram Eldar, Feb 25 2023 *)
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1+3*X-X^2)/(1-X)^2)[n], ", "))

Formula

Dirichlet g.f.: zeta(s)^2 * Product_{primes p} (1 + 3/p^s - 1/p^(2*s)).
Dirichlet g.f.: zeta(s)^5 * Product_{primes p} (1 - 7/p^(2*s) + 11/p^(3*s) - 6/p^(4*s) + 1/p^(5*s)), (with a product that converges for s=1).
Sum_{k=1..n} a(k) ~ c * n * log(n)^4 / 24, where c = Product_{primes p} (1 - 7/p^2 + 11/p^3 - 6/p^4 + 1/p^5) = 0.091414252314317101861531055690354339957600046..., more precise (but very complicated) asymptotics can be obtained (in Mathematica notation) as Residue[Zeta[s]^5 * f[s] * n^s / s, {s, 1}], where f[s] = Product_{primes p} (1 - 7/p^(2*s) + 11/p^(3*s) - 6/p^(4*s) + 1/p^(5*s)).

A360970 Multiplicative with a(p^e) = e^3, p prime and e > 0.

Original entry on oeis.org

1, 1, 1, 8, 1, 1, 1, 27, 8, 1, 1, 8, 1, 1, 1, 64, 1, 8, 1, 8, 1, 1, 1, 27, 8, 1, 27, 8, 1, 1, 1, 125, 1, 1, 1, 64, 1, 1, 1, 27, 1, 1, 1, 8, 8, 1, 1, 64, 8, 8, 1, 8, 1, 27, 1, 27, 1, 1, 1, 8, 1, 1, 8, 216, 1, 1, 1, 8, 1, 1, 1, 216, 1, 1, 8, 8, 1, 1, 1, 64, 64
Offset: 1

Views

Author

Vaclav Kotesovec, Feb 27 2023

Keywords

Crossrefs

Programs

  • Maple
    f:= proc(n) local t;
      mul(t^3, t = ifactors(n)[2][..,2]);
    end proc:
    map(f, [$1..100]); # Robert Israel, Mar 29 2023
  • Mathematica
    g[p_, e_] := e^3; a[1] = 1; a[n_] := Times @@ g @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1 - 3*X + 10*X^2 - 3*X^3 + X^4)/(1-X)^4)[n], ", "))

Formula

Dirichlet g.f.: zeta(s) * Product_{primes p} (1 + (7*p^(2*s) - 2*p^s + 1) / (p^s*(p^s - 1)^3)).
Sum_{k=1..n} a(k) ~ c * n, where c = Product_{primes p} (1 + (7*p^2 - 2*p + 1) / (p*(p-1)^3)) = 109.601930729008995813857898403091253809628920963774227252953...
a(n) = A005361(n)^3.

A360997 Multiplicative with a(p^e) = e + 3.

Original entry on oeis.org

1, 4, 4, 5, 4, 16, 4, 6, 5, 16, 4, 20, 4, 16, 16, 7, 4, 20, 4, 20, 16, 16, 4, 24, 5, 16, 6, 20, 4, 64, 4, 8, 16, 16, 16, 25, 4, 16, 16, 24, 4, 64, 4, 20, 20, 16, 4, 28, 5, 20, 16, 20, 4, 24, 16, 24, 16, 16, 4, 80, 4, 16, 20, 9, 16, 64, 4, 20, 16, 64, 4, 30, 4, 16
Offset: 1

Views

Author

Vaclav Kotesovec, Feb 28 2023

Keywords

Crossrefs

Cf. A005361 (multiplicative with a(p^e) = e), A000005 (e+1), A343443 (e+2), this sequence (e+3), A322327 (2*e), A048691 (2*e+1), A360908 (2*e-1), A226602 (3*e), A048785 (3*e+1), A360910 (3*e-1), A360909 (3*e+2), A360911 (3*e-2), A322328 (4*e), A360996 (5*e).

Programs

  • Mathematica
    g[p_, e_] := e+3; a[1] = 1; a[n_] := Times @@ g @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1+2*X-2*X^2)/(1-X)^2)[n], ", "))

Formula

Dirichlet g.f.: Product_{primes p} (1 + (4*p^s - 3)/(p^s - 1)^2).
Dirichlet g.f.: zeta(s)^4 * Product_{primes p} (1 - 5/p^(2*s) + 6/p^(3*s) - 2/p^(4*s)).
From Amiram Eldar, Sep 01 2023: (Start)
a(n) = A000005(A361264(n)).
a(n) = A074816(n)*A007426(n)/A007425(n). (End)

A360996 Multiplicative with a(p^e) = 5*e, p prime and e > 0.

Original entry on oeis.org

1, 5, 5, 10, 5, 25, 5, 15, 10, 25, 5, 50, 5, 25, 25, 20, 5, 50, 5, 50, 25, 25, 5, 75, 10, 25, 15, 50, 5, 125, 5, 25, 25, 25, 25, 100, 5, 25, 25, 75, 5, 125, 5, 50, 50, 25, 5, 100, 10, 50, 25, 50, 5, 75, 25, 75, 25, 25, 5, 250, 5, 25, 50, 30, 25, 125, 5, 50, 25, 125, 5, 150
Offset: 1

Views

Author

Vaclav Kotesovec, Feb 28 2023

Keywords

Crossrefs

Cf. A005361 (multiplicative with a(p^e) = e), A000005 (e+1), A343443 (e+2), A360997 (e+3), A322327 (2*e), A048691 (2*e+1), A360908 (2*e-1), A226602 (3*e), A048785 (3*e+1), A360910 (3*e-1), A360909 (3*e+2), A360911 (3*e-2), A322328 (4*e).
Cf. A082476.

Programs

  • Mathematica
    g[p_, e_] := 5*e; a[1] = 1; a[n_] := Times @@ g @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1+3*X+X^2)/(1-X)^2)[n], ", "))

Formula

Dirichlet g.f.: Product_{primes p} (1 + 5*p^s/(p^s - 1)^2).
a(n) = A005361(n) * A082476(n).
Showing 1-10 of 10 results.