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.

A046951 a(n) is the number of squares dividing n.

Original entry on oeis.org

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

Views

Author

Simon Colton (simonco(AT)cs.york.ac.uk)

Keywords

Comments

Rediscovered by the HR automatic theory formation program.
a(n) depends only on prime signature of n (cf. A025487, A046523). So a(24) = a(375) since 24 = 2^3*3 and 375 = 3*5^3 both have prime signature (3, 1).
First differences of A013936. Average value tends towards Pi^2/6 = 1.644934... (A013661, A013679). - Henry Bottomley, Aug 16 2001
We have a(n) = A159631(n) for all n < 125, but a(125) = 2 < 3 = A159631(125). - Steven Finch, Apr 22 2009
Number of 2-generated Abelian groups of order n, if n > 1. - Álvar Ibeas, Dec 22 2014 [In other words, number of order-n abelian groups with rank <= 2. Proof: let b(n) be such number. A finite abelian group is the inner direct product of all Sylow-p subgroups, so {b(n)} is multiplicative. Obviously b(p^e) = floor(e/2)+1 (corresponding to the groups C_(p^r) X C_(p^(e-r)) for 0 <= r <= floor(e/2)), hence b(n) = a(n) for all n. - Jianing Song, Nov 05 2022]
Number of ways of writing n = r*s such that r|s. - Eric M. Schmidt, Jan 08 2015
The number of divisors of the square root of the largest square dividing n. - Amiram Eldar, Jul 07 2020
The number of unordered factorizations of n into cubefree powers of primes (1, primes and squares of primes, A166684). - Amiram Eldar, Jun 12 2025

Examples

			a(16) = 3 because the squares 1, 4, and 16 divide 16.
G.f. = x + x^2 + x^3 + 2*x^4 + x^5 + x^6 + x^7 + 2*x^8 + 2*x^9 + x^10 + ...
		

Crossrefs

One more than A071325.
Differs from A096309 for the first time at n=32, where a(32) = 3, while A096309(32) = 2 (and also A185102(32) = 2).
Sum of the k-th powers of the square divisors of n for k=0..10: this sequence (k=0), A035316 (k=1), A351307 (k=2), A351308 (k=3), A351309 (k=4), A351310 (k=5), A351311 (k=6), A351313 (k=7), A351314 (k=8), A351315 (k=9), A351315 (k=10).
Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: this sequence (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), A351604 (k=6), A351605 (k=7), A351606 (k=8), A351607 (k=9), A351608 (k=10).
Cf. A082293 (a(n)==2), A082294 (a(n)==3).

Programs

  • Haskell
    a046951 = sum . map a010052 . a027750_row
    -- Reinhard Zumkeller, Dec 16 2013
    
  • Magma
    [#[d: d in Divisors(n)|IsSquare(d)]:n in [1..120]]; // Marius A. Burtea, Jan 21 2020
    
  • Maple
    A046951 := proc(n)
        local a,s;
        a := 1 ;
        for p in ifactors(n)[2] do
            a := a*(1+floor(op(2,p)/2)) ;
        end do:
        a ;
    end proc: # R. J. Mathar, Sep 17 2012
    # Alternatively:
    isbidivisible := (n, d) -> igcd(n, d) = d and igcd(n/d, d) = d:
    a := n -> nops(select(k -> isbidivisible(n, k), [seq(1..n)])): # Peter Luschny, Jun 13 2025
  • Mathematica
    a[n_] := Length[ Select[ Divisors[n], IntegerQ[Sqrt[#]]& ] ]; Table[a[n], {n, 1, 105}] (* Jean-François Alcover, Jun 26 2012 *)
    Table[Length[Intersection[Divisors[n], Range[10]^2]], {n, 100}] (* Alonso del Arte, Dec 10 2012 *)
    a[ n_] := If[ n < 1, 0, Sum[ Mod[ DivisorSigma[ 0, d], 2], {d, Divisors @ n}]]; (* Michael Somos, Jun 13 2014 *)
    a[ n_] := If[ n < 2, Boole[ n == 1], Times @@ (Quotient[ #[[2]], 2] + 1 & /@ FactorInteger @ n)]; (* Michael Somos, Jun 13 2014 *)
    a[ n_] := If[ n < 0, 0, SeriesCoefficient[ Sum[ x^k^2 / (1 - x^k^2), {k, Sqrt @ n}], {x, 0, n}]]; (* Michael Somos, Jun 13 2014 *)
    f[p_, e_] := 1 + Floor[e/2]; a[1] = 1; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 100] (* Amiram Eldar, Sep 15 2020 *)
  • PARI
    a(n)=my(f=factor(n));for(i=1,#f[,1],f[i,2]\=2);numdiv(factorback(f)) \\ Charles R Greathouse IV, Dec 11 2012
    
  • PARI
    a(n) = direuler(p=2, n, 1/((1-X^2)*(1-X)))[n]; \\ Michel Marcus, Mar 08 2015
    
  • PARI
    a(n)=factorback(apply(e->e\2+1, factor(n)[,2])) \\ Charles R Greathouse IV, Sep 17 2015
    
  • Python
    from math import prod
    from sympy import factorint
    def A046951(n): return prod((e>>1)+1 for e in factorint(n).values()) # Chai Wah Wu, Aug 04 2024
    
  • Python
    def is_bidivisible(n, d) -> bool: return gcd(n, d) == d and gcd(n//d, d) == d
    def aList(n) -> list[int]: return [k for k in range(1, n+1) if is_bidivisible(n, k)]
    print([len(aList(n)) for n in range(1, 126)])  # Peter Luschny, Jun 13 2025
  • Scheme
    (definec (A046951 n) (if (= 1 n) 1 (* (A008619 (A007814 n)) (A046951 (A064989 n)))))
    (define (A008619 n) (+ 1 (/ (- n (modulo n 2)) 2)))
    ;; Antti Karttunen, Nov 14 2016
    

Formula

a(p^k) = A008619(k) = [k/2] + 1. a(A002110(n)) = 1 for all n. (This is true for any squarefree number, A005117). - Original notes clarified by Antti Karttunen, Nov 14 2016
a(n) = |{(i, j) : i*j = n AND i|j}| = |{(i, j) : i*j^2 = n}|. Also tau(A000188(n)), where tau = A000005.
Multiplicative with p^e --> floor(e/2) + 1, p prime. - Reinhard Zumkeller, May 20 2007
a(A130279(n)) = n and a(m) <> n for m < A130279(n); A008966(n)=0^(a(n) - 1). - Reinhard Zumkeller, May 20 2007
Inverse Moebius transform of characteristic function of squares (A010052). Dirichlet g.f.: zeta(s)*zeta(2s).
G.f.: Sum_{k > 0} x^(k^2)/(1 - x^(k^2)). - Vladeta Jovovic, Dec 13 2002
a(n) = Sum_{k=1..A000005(n)} A010052(A027750(n,k)). - Reinhard Zumkeller, Dec 16 2013
a(n) = Sum_{k = 1..n} ( floor(n/k^2) - floor((n-1)/k^2) ). - Peter Bala, Feb 17 2014
From Antti Karttunen, Nov 14 2016: (Start)
a(1) = 1; for n > 1, a(n) = A008619(A007814(n)) * a(A064989(n)).
a(n) = A278161(A156552(n)). (End)
G.f.: Sum_{k>0}(theta(q^k)-1)/2, where theta(q)=1+2q+2q^4+2q^9+2q^16+... - Mamuka Jibladze, Dec 04 2016
From Antti Karttunen, Nov 12 2017: (Start)
a(n) = A000005(n) - A056595(n).
a(n) = 1 + A071325(n).
a(n) = 1 + A001222(A293515(n)). (End)
L.g.f.: -log(Product_{k>=1} (1 - x^(k^2))^(1/k^2)) = Sum_{n>=1} a(n)*x^n/n. - Ilya Gutkovskiy, Jul 30 2018
a(n) = Sum_{d|n} A000005(d) * A008836(n/d). - Torlach Rush, Jan 21 2020
a(n) = A000005(sqrt(A008833(n))). - Amiram Eldar, Jul 07 2020
a(n) = Sum_{d divides n} mu(core(d)^2), where core(n) = A007913(n). - Peter Bala, Jan 24 2024

Extensions

Data section filled up to 125 terms and wrong claim deleted from Crossrefs section by Antti Karttunen, Nov 14 2016

A340774 Dirichlet g.f.: Sum_{n>0} a(n)/n^s = zeta(s-1) * zeta(2*s-1).

Original entry on oeis.org

1, 2, 3, 6, 5, 6, 7, 12, 12, 10, 11, 18, 13, 14, 15, 28, 17, 24, 19, 30, 21, 22, 23, 36, 30, 26, 36, 42, 29, 30, 31, 56, 33, 34, 35, 72, 37, 38, 39, 60, 41, 42, 43, 66, 60, 46, 47, 84, 56, 60, 51, 78, 53, 72, 55, 84, 57, 58, 59, 90, 61, 62, 84, 120, 65, 66, 67
Offset: 1

Views

Author

Werner Schulte, Jan 20 2021

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k =
0..10: A046951 (k=0), this sequence (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), A351604 (k=6), A351605 (k=7), A351606 (k=8), A351607 (k=9), A351608 (k=10).

Programs

  • Maple
    a:= n-> mul((i[1]^(i[2]+1)-i[1]^iquo(i[2]+1, 2))/(i[1]-1), i=ifactors(n)[2]):
    seq(a(n), n=1..77);  # Alois P. Heinz, Jan 20 2021
  • Mathematica
    f[p_, e_] := (p^(e + 1) - p^Floor[(e + 1)/2])/(p - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Jan 20 2021 *)
  • PARI
    A340774(n) = { my(f=factor(n)); prod(i=1, #f~, my(p=f[i,1], e=f[i,2]); ((p^(e+1)-(p^((e+1)\2))) / (p-1))); }; \\ Antti Karttunen, Aug 19 2021

Formula

Multiplicative with a(p^e) = (p^(e+1)-p^floor((e+1)/2))/(p-1).
Dirichlet convolution of A000010 and A069290.
Dirichlet convolution with A055615 equals A037213.
G.f.: Sum_{k>=1} k * x^(k^2) / (1 - x^(k^2))^2. - Ilya Gutkovskiy, Aug 19 2021
Sum_{k=1..n} a(k) ~ zeta(3)*n^2/2. - Vaclav Kotesovec, Aug 19 2021
a(n) = n * Sum_{d^2|n} 1/d. - Wesley Ivan Hurt, Feb 14 2022

A351600 a(n) = n^2 * Sum_{d^2|n} 1 / d^2.

Original entry on oeis.org

1, 4, 9, 20, 25, 36, 49, 80, 90, 100, 121, 180, 169, 196, 225, 336, 289, 360, 361, 500, 441, 484, 529, 720, 650, 676, 810, 980, 841, 900, 961, 1344, 1089, 1156, 1225, 1800, 1369, 1444, 1521, 2000, 1681, 1764, 1849, 2420, 2250, 2116, 2209, 3024, 2450, 2600, 2601, 3380, 2809
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), this sequence (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), A351604 (k=6), A351605 (k=7), A351606 (k=8), A351607 (k=9), A351608 (k=10).

Programs

  • Mathematica
    f[p_, e_] := p^2*(p^(2*e) - p^(2*Floor[(e - 1)/2]))/(p^2 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 50] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^2*sumdiv(n, d, if (issquare(d), 1/d)); \\ Michel Marcus, Feb 15 2022

Formula

G.f.: Sum_{k>=1} k^2 * x^(k^2) * (1 + x^(k^2)) / (1 - x^(k^2))^3. - Ilya Gutkovskiy, Feb 21 2022
Multiplicative with a(p^e) = p^2*(p^(2*e) - p^(2*floor((e-1)/2)))/(p^2 - 1). - Sebastian Karlsson, Feb 25 2022
Sum_{k=1..n} a(k) ~ c * n^3, where c = zeta(4)/3 = Pi^4/270 = 0.360774... . - Amiram Eldar, Nov 13 2022

A351602 a(n) = n^4 * Sum_{d^2|n} 1 / d^4.

Original entry on oeis.org

1, 16, 81, 272, 625, 1296, 2401, 4352, 6642, 10000, 14641, 22032, 28561, 38416, 50625, 69888, 83521, 106272, 130321, 170000, 194481, 234256, 279841, 352512, 391250, 456976, 538002, 653072, 707281, 810000, 923521, 1118208, 1185921, 1336336, 1500625, 1806624, 1874161, 2085136
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), this sequence (k=4), A351603 (k=5), A351604 (k=6), A351605 (k=7), A351606 (k=8), A351607 (k=9), A351608 (k=10).
Cf. A013664.

Programs

  • Mathematica
    f[p_, e_] := p^4*(p^(4*e) - p^(4*Floor[(e - 1)/2]))/(p^4 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 40] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^4*sumdiv(n, d, if (issquare(d), 1/d^2)); \\ Michel Marcus, Feb 15 2022

Formula

Multiplicative with a(p^e) = p^4*(p^(4*e) - p^(4*floor((e-1)/2)))/(p^4 - 1). - Sebastian Karlsson, Feb 25 2022
Sum_{k=1..n} a(k) ~ c * n^5, where c = zeta(6)/5 = Pi^6/4725 = 0.203468... . - Amiram Eldar, Nov 13 2022

A351603 a(n) = n^5 * Sum_{d^2|n} 1 / d^5.

Original entry on oeis.org

1, 32, 243, 1056, 3125, 7776, 16807, 33792, 59292, 100000, 161051, 256608, 371293, 537824, 759375, 1082368, 1419857, 1897344, 2476099, 3300000, 4084101, 5153632, 6436343, 8211456, 9768750, 11881376, 14407956, 17748192, 20511149, 24300000, 28629151, 34635776, 39135393
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), this sequence (k=5), A351604 (k=6), A351605 (k=7), A351606 (k=8), A351607 (k=9), A351608 (k=10).
Cf. A013665.

Programs

  • Mathematica
    f[p_, e_] := p^5*(p^(5*e) - p^(5*Floor[(e - 1)/2]))/(p^5 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 30] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^5*sumdiv(n, d, if (issquare(d), 1/sqrtint(d^5))); \\ Michel Marcus, Feb 15 2022

Formula

Multiplicative with a(p^e) = p^5*(p^(5*e) - p^(5*floor((e-1)/2)))/(p^5 - 1). - Sebastian Karlsson, Feb 25 2022
Sum_{k=1..n} a(k) ~ c * n^6, where c = zeta(7)/6 = 0.168058... . - Amiram Eldar, Nov 13 2022

A351604 a(n) = n^6 * Sum_{d^2|n} 1 / d^6.

Original entry on oeis.org

1, 64, 729, 4160, 15625, 46656, 117649, 266240, 532170, 1000000, 1771561, 3032640, 4826809, 7529536, 11390625, 17043456, 24137569, 34058880, 47045881, 65000000, 85766121, 113379904, 148035889, 194088960, 244156250, 308915776, 387951930, 489419840, 594823321, 729000000
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), this sequence (k=6), A351605 (k=7), A351606 (k=8), A351607 (k=9), A351608 (k=10).
Cf. A013666.

Programs

  • Mathematica
    f[p_, e_] := p^6*(p^(6*e) - p^(6*Floor[(e - 1)/2]))/(p^6 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 30] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^6*sumdiv(n, d, if (issquare(d), 1/d^3)); \\ Michel Marcus, Feb 15 2022

Formula

Multiplicative with a(p^e) = p^6*(p^(6*e) - p^(6*floor((e-1)/2)))/(p^6 - 1). - Sebastian Karlsson, Feb 25 2022
Sum_{k=1..n} a(k) ~ c * n^7, where c = zeta(8)/7 = Pi^8/66150 = 0.143439... . - Amiram Eldar, Nov 13 2022

A351605 a(n) = n^7 * Sum_{d^2|n} 1 / d^7.

Original entry on oeis.org

1, 128, 2187, 16512, 78125, 279936, 823543, 2113536, 4785156, 10000000, 19487171, 36111744, 62748517, 105413504, 170859375, 270548992, 410338673, 612499968, 893871739, 1290000000, 1801088541, 2494357888, 3404825447, 4622303232, 6103593750, 8031810176, 10465136172
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), A351604 (k=6), this sequence (k=7), A351606 (k=8), A351607 (k=9), A351608 (k=10).
Cf. A013667.

Programs

  • Mathematica
    f[p_, e_] := p^7*(p^(7*e) - p^(7*Floor[(e - 1)/2]))/(p^7 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 30] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^7*sumdiv(n, d, if (issquare(d), 1/sqrtint(d^7))); \\ Michel Marcus, Feb 15 2022

Formula

Multiplicative with a(p^e) = p^7*(p^(7*e) - p^(7*floor((e-1)/2)))/(p^7 - 1). - Sebastian Karlsson, Feb 25 2022
Sum_{k=1..n} a(k) ~ c * n^8, where c = zeta(9)/8 = 0.125251... . - Amiram Eldar, Nov 13 2022

A351606 a(n) = n^8 * Sum_{d^2|n} 1 / d^8.

Original entry on oeis.org

1, 256, 6561, 65792, 390625, 1679616, 5764801, 16842752, 43053282, 100000000, 214358881, 431661312, 815730721, 1475789056, 2562890625, 4311810048, 6975757441, 11021640192, 16983563041, 25700000000, 37822859361, 54875873536, 78310985281, 110505295872, 152588281250
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), A351604 (k=6), A351605 (k=7), this sequence (k=8), A351607 (k=9), A351608 (k=10).
Cf. A013668.

Programs

  • Mathematica
    f[p_, e_] := p^8*(p^(8*e) - p^(8*Floor[(e - 1)/2]))/(p^8 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 30] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^8*sumdiv(n, d, if (issquare(d), 1/d^4)); \\ Michel Marcus, Feb 15 2022

Formula

Multiplicative with a(p^e) = p^8*(p^(8*e) - p^(8*floor((e-1)/2)))/(p^8 - 1). - Sebastian Karlsson, Feb 25 2022
Sum_{k=1..n} a(k) ~ c * n^9, where c = zeta(10)/9 = Pi^10/841995 = 0.1112216... . - Amiram Eldar, Nov 13 2022

A351607 a(n) = n^9 * Sum_{d^2|n} 1 / d^9.

Original entry on oeis.org

1, 512, 19683, 262656, 1953125, 10077696, 40353607, 134479872, 387440172, 1000000000, 2357947691, 5169858048, 10604499373, 20661046784, 38443359375, 68853956608, 118587876497, 198369368064, 322687697779, 513000000000, 794280046581, 1207269217792, 1801152661463
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), A351604 (k=6), A351605 (k=7), A351606 (k=8), this sequence (k=9), A351608 (k=10).
Cf. A013669.

Programs

  • Mathematica
    f[p_, e_] := p^9*(p^(9*e) - p^(9*Floor[(e - 1)/2]))/(p^9 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 30] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^9*sumdiv(n, d, if (issquare(d), 1/sqrtint(d^9))); \\ Michel Marcus, Feb 15 2022

Formula

Multiplicative with a(p^e) = p^9*(p^(9*e) - p^(9*floor((e-1)/2)))/(p^9 - 1). - Sebastian Karlsson, Mar 03 2022
Sum_{k=1..n} a(k) ~ c * n^10, where c = zeta(11)/10 = 0.100049... . - Amiram Eldar, Nov 13 2022

A351608 a(n) = n^10 * Sum_{d^2|n} 1 / d^10.

Original entry on oeis.org

1, 1024, 59049, 1049600, 9765625, 60466176, 282475249, 1074790400, 3486843450, 10000000000, 25937424601, 61977830400, 137858491849, 289254654976, 576650390625, 1100586418176, 2015993900449, 3570527692800, 6131066257801, 10250000000000, 16679880978201
Offset: 1

Views

Author

Wesley Ivan Hurt, Feb 14 2022

Keywords

Crossrefs

Sequences of the form n^k * Sum_{d^2|n} 1/d^k for k = 0..10: A046951 (k=0), A340774 (k=1), A351600 (k=2), A351601 (k=3), A351602 (k=4), A351603 (k=5), A351604 (k=6), A351605 (k=7), A351606 (k=8), A351607 (k=9), this sequence (k=10).
Cf. A013670.

Programs

  • Mathematica
    f[p_, e_] := p^10*(p^(10*e) - p^(10*Floor[(e - 1)/2]))/(p^10 - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 20] (* Amiram Eldar, Nov 13 2022 *)
  • PARI
    a(n) = n^10*sumdiv(n, d, if (issquare(d), 1/d^5)); \\ Michel Marcus, Feb 15 2022

Formula

Multiplicative with a(p^e) = p^10*(p^(10*e) - p^(10*floor((e-1)/2)))/(p^10 - 1). - Sebastian Karlsson, Mar 03 2022
Sum_{k=1..n} a(k) ~ c * n^11, where c = zeta(12)/11 = 691*Pi^12/7023641625 = 0.090931... . - Amiram Eldar, Nov 13 2022
Showing 1-10 of 10 results.