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 22 results. Next

A351451 a(n) = A064989(A092261(A003961(n))).

Original entry on oeis.org

1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 5, 2, 4, 2, 2, 1, 3, 1, 2, 1, 4, 5, 6, 2, 1, 4, 1, 2, 1, 2, 17, 1, 10, 3, 2, 1, 10, 2, 8, 1, 7, 4, 2, 5, 1, 6, 8, 2, 1, 1, 6, 4, 6, 1, 5, 2, 4, 1, 29, 2, 13, 17, 2, 1, 4, 10, 4, 3, 12, 2, 31, 1, 3, 10, 2, 2, 10, 8, 10, 1, 1, 7, 12, 4, 3, 2, 2, 5, 25, 1, 8, 6, 34, 8, 2
Offset: 1

Views

Author

Antti Karttunen, Feb 11 2022

Keywords

Crossrefs

Programs

  • PARI
    A003961(n) = { my(f = factor(n)); for(i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
    A048250(n) = factorback(apply(p -> p+1,factor(n)[,1]));
    A055231(n) = {my(f=factor(n)); for (k=1, #f~, if (f[k, 2] > 1, f[k, 2] = 0); ); factorback(f); } \\ From A055231
    A064989(n) = { my(f = factor(n>>valuation(n,2))); for(i=1, #f~, f[i,1] = precprime(f[i,1]-1)); factorback(f); };
    A351450(n) = A064989(A048250(A003961(n)));
    A351451(n) = A351450(A055231(n));

Formula

Multiplicative with a(p) = A064989(q+1) and a(p^e) = 1 for e > 1, where q = nextPrime(p) = A151800(p).
a(n) = A326042(n) / A351449(n).

A329728 Partial sums of A092261.

Original entry on oeis.org

1, 4, 8, 9, 15, 27, 35, 36, 37, 55, 67, 71, 85, 109, 133, 134, 152, 155, 175, 181, 213, 249, 273, 277, 278, 320, 321, 329, 359, 431, 463, 464, 512, 566, 614, 615, 653, 713, 769, 775, 817, 913, 957, 969, 975, 1047, 1095, 1099, 1100, 1103, 1175, 1189, 1243
Offset: 1

Views

Author

Amiram Eldar, Nov 19 2019

Keywords

References

  • Steven R. Finch, Mathematical Constants II, Encyclopedia of Mathematics and Its Applications, Cambridge University Press, Cambridge, 2018, p. 50.

Crossrefs

Programs

  • Mathematica
    Accumulate[Table[Plus @@ Select[Divisors@ n, Max @@ Last /@ FactorInteger@ # == 1 && GCD[#, n/#] == 1 &], {n, 1, 53}]] (* after Michael De Vlieger at A092261 *)

Formula

Lim_{n->oo} a(n)/n^2 = 1/2 * Product_{p prime}(1 - 1/(p^2*(p+1))) = 1/2 * A065465.

A327875 Numbers k such that s(k) = s(k+1) where s(k) is the sum of unitary, squarefree divisors of k, including 1 (A092261).

Original entry on oeis.org

8, 14, 288, 675, 735, 957, 1334, 1634, 2685, 2871, 5750, 8055, 9800, 12104, 12167, 20145, 33998, 42818, 71994, 74918, 79826, 79833, 84134, 111506, 122073, 138237, 144990, 147454, 166934, 201597, 235224, 274533, 289454, 324423, 332928, 347738, 383594, 400315
Offset: 1

Views

Author

Amiram Eldar, Sep 28 2019

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[e==1, p+1, 1]; s[n_] := Times @@ f @@@ FactorInteger[n]; s1=0; seq = {}; Do[s2 = s[n]; If[s1 == s2, AppendTo[seq, n-1]]; s1 = s2, {n,1,10000}]; seq
  • PARI
    s(n)={sumdiv(n, d, d*issquarefree(d)*(gcd(d, n/d) == 1))}
    { for(k=1, 10^6, if(s(k)==s(k+1), print1(k, ", "))) } \\ Andrew Howroyd, Sep 28 2019

Formula

8 is in the sequence since A092261(8) = A092261(9) = 1.

A000203 a(n) = sigma(n), the sum of the divisors of n. Also called sigma_1(n).

Original entry on oeis.org

1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12, 28, 14, 24, 24, 31, 18, 39, 20, 42, 32, 36, 24, 60, 31, 42, 40, 56, 30, 72, 32, 63, 48, 54, 48, 91, 38, 60, 56, 90, 42, 96, 44, 84, 78, 72, 48, 124, 57, 93, 72, 98, 54, 120, 72, 120, 80, 90, 60, 168, 62, 96, 104, 127, 84, 144, 68, 126, 96, 144
Offset: 1

Views

Author

Keywords

Comments

Multiplicative: If the canonical factorization of n into prime powers is the product of p^e(p) then sigma_k(n) = Product_p ((p^((e(p)+1)*k))-1)/(p^k-1).
Sum_{d|n} 1/d^k is equal to sigma_k(n)/n^k. So sequences A017665-A017712 also give the numerators and denominators of sigma_k(n)/n^k for k = 1..24. The power sums sigma_k(n) are in sequences A000203 (this sequence) (k=1), A001157-A001160 (k=2,3,4,5), A013954-A013972 for k = 6,7,...,24. - Ahmed Fares (ahmedfares(AT)my-deja.com), Apr 05 2001
A number n is abundant if sigma(n) > 2n (cf. A005101), perfect if sigma(n) = 2n (cf. A000396), deficient if sigma(n) < 2n (cf. A005100).
a(n) is the number of sublattices of index n in a generic 2-dimensional lattice. - Avi Peretz (njk(AT)netvision.net.il), Jan 29 2001 [In the language of group theory, a(n) is the number of index-n subgroups of Z x Z. - Jianing Song, Nov 05 2022]
The sublattices of index n are in one-to-one correspondence with matrices [a b; 0 d] with a>0, ad=n, b in [0..d-1]. The number of these is Sum_{d|n} d = sigma(n), which is a(n). A sublattice is primitive if gcd(a,b,d) = 1; the number of these is n * Product_{p|n} (1+1/p), which is A001615. [Cf. Grady reference.]
Sum of number of common divisors of n and m, where m runs from 1 to n. - Naohiro Nomoto, Jan 10 2004
a(n) is the cardinality of all extensions over Q_p with degree n in the algebraic closure of Q_p, where p>n. - Volker Schmitt (clamsi(AT)gmx.net), Nov 24 2004. Cf. A100976, A100977, A100978 (p-adic extensions).
Let s(n) = a(n-1) + a(n-2) - a(n-5) - a(n-7) + a(n-12) + a(n-15) - a(n-22) - a(n-26) + ..., then a(n) = s(n) if n is not pentagonal, i.e., n != (3 j^2 +- j)/2 (cf. A001318), and a(n) is instead s(n) - ((-1)^j)*n if n is pentagonal. - Gary W. Adamson, Oct 05 2008 [corrected Apr 27 2012 by William J. Keith based on Ewell and by Andrey Zabolotskiy, Apr 08 2022]
Write n as 2^k * d, where d is odd. Then a(n) is odd if and only if d is a square. - Jon Perry, Nov 08 2012
Also total number of parts in the partitions of n into equal parts. - Omar E. Pol, Jan 16 2013
Note that sigma(3^4) = 11^2. On the other hand, Kanold (1947) shows that the equation sigma(q^(p-1)) = b^p has no solutions b > 2, q prime, p odd prime. - N. J. A. Sloane, Dec 21 2013, based on postings to the Number Theory Mailing List by Vladimir Letsko and Luis H. Gallardo
Limit_{m->infinity} (Sum_{n=1..prime(m)} a(n)) / prime(m)^2 = zeta(2)/2 = Pi^2/12 (A072691). See more at A244583. - Richard R. Forberg, Jan 04 2015
a(n) + A000005(n) is an odd number iff n = 2m^2, m>=1. - Richard R. Forberg, Jan 15 2015
a(n) = a(n+1) for n = 14, 206, 957, 1334, 1364 (A002961). - Zak Seidov, May 03 2016
Equivalent to the Riemann hypothesis: a(n) < H(n) + exp(H(n))*log(H(n)), for all n>1, where H(n) is the n-th harmonic number (Jeffrey Lagarias). See A057641 for more details. - Ilya Gutkovskiy, Jul 05 2016
a(n) is the total number of even parts in the partitions of 2*n into equal parts. More generally, a(n) is the total number of parts congruent to 0 mod k in the partitions of k*n into equal parts (the comment dated Jan 16 2013 is the case for k = 1). - Omar E. Pol, Nov 18 2019
From Jianing Song, Nov 05 2022: (Start)
a(n) is also the number of order-n subgroups of C_n X C_n, where C_n is the cyclic group of order n. Proof: by the correspondence theorem in the group theory, there is a one-to-one correspondence between the order-n subgroups of C_n X C_n = (Z x Z)/(nZ x nZ) and the index-n subgroups of Z x Z containing nZ x nZ. But an index-n normal subgroup of a (multiplicative) group G contains {g^n : n in G} automatically. The desired result follows from the comment from Naohiro Nomoto above.
The number of subgroups of C_n X C_n that are isomorphic to C_n is A001615(n). (End)

Examples

			For example, 6 is divisible by 1, 2, 3 and 6, so sigma(6) = 1 + 2 + 3 + 6 = 12.
Let L = <V,W> be a 2-dimensional lattice. The 7 sublattices of index 4 are generated by <4V,W>, <V,4W>, <4V,W+-V>, <2V,2W>, <2V+W,2W>, <2V,2W+V>. Compare A001615.
		

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 840.
  • T. M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, page 38.
  • A. T. Benjamin and J. J. Quinn, Proofs that really count: the art of combinatorial proof, M.A.A. 2003, p. 116ff.
  • Florian Cajori, A History of Mathematical Notations, Dover edition (2012), par. 407.
  • L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 162, #16, (6), 2nd formula.
  • G. H. Hardy, Ramanujan: twelve lectures on subjects suggested by his life and work, AMS Chelsea Publishing, Providence, Rhode Island, 2002, pp. 141, 166.
  • H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, Fifth Edition, Clarendon Press, Oxford, 2003.
  • Ross Honsberger, "Mathematical Gems, Number One," The Dolciani Mathematical Expositions, Published and Distributed by The Mathematical Association of America, page 116.
  • Kanold, Hans Joachim, Kreisteilungspolynome und ungerade vollkommene Zahlen. (German), Ber. Math.-Tagung Tübingen 1946, (1947). pp. 84-87.
  • M. Krasner, Le nombre des surcorps primitifs d'un degré donné et le nombre des surcorps métagaloisiens d'un degré donné d'un corps de nombres p-adiques. Comptes Rendus Hebdomadaires, Académie des Sciences, Paris 254, 255, 1962.
  • A. Lubotzky, Counting subgroups of finite index, Proceedings of the St. Andrews/Galway 93 group theory meeting, Th. 2.1. LMS Lecture Notes Series no. 212 Cambridge University Press 1995.
  • D. S. Mitrinovic et al., Handbook of Number Theory, Kluwer, Section III.1, page 77.
  • G. Pólya, Induction and Analogy in Mathematics, vol. 1 of Mathematics and Plausible Reasoning, Princeton Univ Press 1954, page 92.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, pages 91, 395.
  • Robert M. Young, Excursions in Calculus, The Mathematical Association of America, 1992 p. 361.

Crossrefs

See A034885, A002093 for records. Bisections give A008438, A062731. Values taken are listed in A007609. A054973 is an inverse function.
For partial sums see A024916.
Row sums of A127093.
Cf. A009194, A082062 (gcd(a(n),n) and its largest prime factor), A179931, A192795 (gcd(a(n),A001157(n)) and largest prime factor).
Cf. also A034448 (sum of unitary divisors).
Cf. A007955 (products of divisors).
A001227, A000593 and this sequence have the same parity: A053866. - Omar E. Pol, May 14 2016

Programs

  • GAP
    A000203:=List([1..10^2],n->Sigma(n)); # Muniru A Asiru, Oct 01 2017
    
  • Haskell
    a000203 n = product $ zipWith (\p e -> (p^(e+1)-1) `div` (p-1)) (a027748_row n) (a124010_row n)
    -- Reinhard Zumkeller, May 07 2012
    
  • Magma
    [SumOfDivisors(n): n in [1..70]];
    
  • Magma
    [DivisorSigma(1,n): n in [1..70]]; // Bruno Berselli, Sep 09 2015
    
  • Maple
    with(numtheory): A000203 := n->sigma(n); seq(A000203(n), n=1..100);
  • Mathematica
    Table[ DivisorSigma[1, n], {n, 100}]
    a[ n_] := SeriesCoefficient[ QPolyGamma[ 1, 1, q] / Log[q]^2, {q, 0, n}]; (* Michael Somos, Apr 25 2013 *)
  • Maxima
    makelist(divsum(n),n,1,1000); /* Emanuele Munarini, Mar 26 2011 */
    
  • MuPAD
    numlib::sigma(n)$ n=1..81 // Zerinvary Lajos, May 13 2008
    
  • PARI
    {a(n) = if( n<1, 0, sigma(n))};
    
  • PARI
    {a(n) = if( n<1, 0, direuler( p=2, n, 1 / (1 - X) /(1 - p*X))[n])};
    
  • PARI
    {a(n) = if( n<1, 0, polcoeff( sum( k=1, n, x^k / (1 - x^k)^2, x * O(x^n)), n))}; /* Michael Somos, Jan 29 2005 */
    
  • PARI
    max_n = 30; ser = - sum(k=1,max_n,log(1-x^k)); a(n) = polcoeff(ser,n)*n \\ Gottfried Helms, Aug 10 2009
    
  • Python
    from sympy import divisor_sigma
    def a(n): return divisor_sigma(n, 1)
    print([a(n) for n in range(1, 71)]) # Michael S. Branicky, Jan 03 2021
    
  • Python
    from math import prod
    from sympy import factorint
    def a(n): return prod((p**(e+1)-1)//(p-1) for p, e in factorint(n).items())
    print([a(n) for n in range(1, 51)]) # Michael S. Branicky, Feb 25 2024
    (APL, Dyalog dialect) A000203 ← +/{ð←⍵{(0=⍵|⍺)/⍵}⍳⌊⍵*÷2 ⋄ 1=⍵:ð ⋄ ð,(⍵∘÷)¨(⍵=(⌊⍵*÷2)*2)↓⌽ð} ⍝ Antti Karttunen, Feb 20 2024
  • SageMath
    [sigma(n, 1) for n in range(1, 71)]  # Zerinvary Lajos, Jun 04 2009
    
  • Scheme
    (definec (A000203 n) (if (= 1 n) n (let ((p (A020639 n)) (e (A067029 n))) (* (/ (- (expt p (+ 1 e)) 1) (- p 1)) (A000203 (A028234 n)))))) ;; Uses macro definec from http://oeis.org/wiki/Memoization#Scheme - Antti Karttunen, Nov 25 2017
    
  • Scheme
    (define (A000203 n) (let ((r (sqrt n))) (let loop ((i (inexact->exact (floor r))) (s (if (integer? r) (- r) 0))) (cond ((zero? i) s) ((zero? (modulo n i)) (loop (- i 1) (+ s i (/ n i)))) (else (loop (- i 1) s)))))) ;; (Stand-alone program) - Antti Karttunen, Feb 20 2024
    

Formula

Multiplicative with a(p^e) = (p^(e+1)-1)/(p-1). - David W. Wilson, Aug 01 2001
For the following bounds and many others, see Mitrinovic et al. - N. J. A. Sloane, Oct 02 2017
If n is composite, a(n) > n + sqrt(n).
a(n) < n*sqrt(n) for all n.
a(n) < (6/Pi^2)*n^(3/2) for n > 12.
G.f.: -x*deriv(eta(x))/eta(x) where eta(x) = Product_{n>=1} (1-x^n). - Joerg Arndt, Mar 14 2010
L.g.f.: -log(Product_{j>=1} (1-x^j)) = Sum_{n>=1} a(n)/n*x^n. - Joerg Arndt, Feb 04 2011
Dirichlet convolution of phi(n) and tau(n), i.e., a(n) = sum_{d|n} phi(n/d)*tau(d), cf. A000010, A000005.
a(n) is odd iff n is a square or twice a square. - Robert G. Wilson v, Oct 03 2001
a(n) = a(n*prime(n)) - prime(n)*a(n). - Labos Elemer, Aug 14 2003 (Clarified by Omar E. Pol, Apr 27 2016)
a(n) = n*A000041(n) - Sum_{i=1..n-1} a(i)*A000041(n-i). - Jon Perry, Sep 11 2003
a(n) = -A010815(n)*n - Sum_{k=1..n-1} A010815(k)*a(n-k). - Reinhard Zumkeller, Nov 30 2003
a(n) = f(n, 1, 1, 1), where f(n, i, x, s) = if n = 1 then s*x else if p(i)|n then f(n/p(i), i, 1+p(i)*x, s) else f(n, i+1, 1, s*x) with p(i) = i-th prime (A000040). - Reinhard Zumkeller, Nov 17 2004
Recurrence: n^2*(n-1)*a(n) = 12*Sum_{k=1..n-1} (5*k*(n-k) - n^2)*a(k)*a(n-k), if n>1. - Dominique Giard (dominique.giard(AT)gmail.com), Jan 11 2005
G.f.: Sum_{k>0} k * x^k / (1 - x^k) = Sum_{k>0} x^k / (1 - x^k)^2. Dirichlet g.f.: zeta(s)*zeta(s-1). - Michael Somos, Apr 05 2003. See the Hardy-Wright reference, p. 312. first equation, and p. 250, Theorem 290. - Wolfdieter Lang, Dec 09 2016
For odd n, a(n) = A000593(n). For even n, a(n) = A000593(n) + A074400(n/2). - Jonathan Vos Post, Mar 26 2006
Equals the inverse Moebius transform of the natural numbers. Equals row sums of A127093. - Gary W. Adamson, May 20 2007
A127093 * [1/1, 1/2, 1/3, ...] = [1/1, 3/2, 4/3, 7/4, 6/5, 12/6, 8/7, ...]. Row sums of triangle A135539. - Gary W. Adamson, Oct 31 2007
a(n) = A054785(2*n) - A000593(2*n). - Reinhard Zumkeller, Apr 23 2008
a(n) = n*Sum_{k=1..n} A060642(n,k)/k*(-1)^(k+1). - Vladimir Kruchinin, Aug 10 2010
Dirichlet convolution of A037213 and A034448. - R. J. Mathar, Apr 13 2011
G.f.: A(x) = x/(1-x)*(1 - 2*x*(1-x)/(G(0) - 2*x^2 + 2*x)); G(k) = -2*x - 1 - (1+x)*k + (2*k+3)*(x^(k+2)) - x*(k+1)*(k+3)*((-1 + (x^(k+2)))^2)/G(k+1); (continued fraction). - Sergei N. Gladkovskii, Dec 06 2011
a(n) = A001065(n) + n. - Mats Granvik, May 20 2012
a(n) = A006128(n) - A220477(n). - Omar E. Pol, Jan 17 2013
a(n) = Sum_{k=1..A003056(n)} (-1)^(k-1)*A196020(n,k). - conjectured by Omar E. Pol, Feb 02 2013, and proved by Max Alekseyev, Nov 17 2013
a(n) = Sum_{k=1..A003056(n)} (-1)^(k-1)*A000330(k)*A000716(n-A000217(k)). - Mircea Merca, Mar 05 2014
a(n) = A240698(n, A000005(n)). - Reinhard Zumkeller, Apr 10 2014
a(n) = Sum_{d^2|n} A001615(n/d^2) = Sum_{d^3|n} A254981(n/d^3). - Álvar Ibeas, Mar 06 2015
a(3*n) = A144613(n). a(3*n + 1) = A144614(n). a(3*n + 2) = A144615(n). - Michael Somos, Jul 19 2015
a(n) = Sum{i=1..n} Sum{j=1..i} cos((2*Pi*n*j)/i). - Michel Lagneau, Oct 14 2015
a(n) = A000593(n) + A146076(n). - Omar E. Pol, Apr 05 2016
a(n) = A065475(n) + A048050(n). - Omar E. Pol, Nov 28 2016
a(n) = (Pi^2*n/6)*Sum_{q>=1} c_q(n)/q^2, with the Ramanujan sums c_q(n) given in A054533 as a c_n(k) table. See the Hardy reference, p. 141, or Hardy-Wright, Theorem 293, p. 251. - Wolfdieter Lang, Jan 06 2017
G.f. also (1 - E_2(q))/24, with the g.f. E_2 of A006352. See e.g., Hardy, p. 166, eq. (10.5.5). - Wolfdieter Lang, Jan 31 2017
From Antti Karttunen, Nov 25 2017: (Start)
a(n) = A048250(n) + A162296(n).
a(n) = A092261(n) * A295294(n). [This can be further expanded, see comment in A291750.] (End)
a(n) = A000593(n) * A038712(n). - Ivan N. Ianakiev and Omar E. Pol, Nov 26 2017
a(n) = Sum_{q=1..n} c_q(n) * floor(n/q), where c_q(n) is the Ramanujan's sum function given in A054533. - Daniel Suteu, Jun 14 2018
a(n) = Sum_{k=1..n} gcd(n, k) / phi(n / gcd(n, k)), where phi(k) is the Euler totient function. - Daniel Suteu, Jun 21 2018
a(n) = (2^(1 + (A000005(n) - A001227(n))/(A000005(n) - A183063(n))) - 1)*A000593(n) = (2^(1 + (A183063(n)/A001227(n))) - 1)*A000593(n). - Omar E. Pol, Nov 03 2018
a(n) = Sum_{i=1..n} tau(gcd(n, i)). - Ridouane Oudra, Oct 15 2019
From Peter Bala, Jan 19 2021: (Start)
G.f.: A(x) = Sum_{n >= 1} x^(n^2)*(x^n + n*(1 - x^(2*n)))/(1 - x^n)^2 - differentiate equation 5 in Arndt w.r.t. x, and set x = 1.
A(x) = F(x) + G(x), where F(x) is the g.f. of A079667 and G(x) is the g.f. of A117004. (End)
a(n) = Sum_{k=1..n} tau(n/gcd(n,k))*phi(gcd(n,k))/phi(n/gcd(n,k)). - Richard L. Ollerton, May 07 2021
With the convention that a(n) = 0 for n <= 0 we have the recurrence a(n) = t(n) + Sum_{k >= 1} (-1)^(k+1)*(2*k + 1)*a(n - k*(k + 1)/2), where t(n) = (-1)^(m+1)*(2*m+1)*n/3 if n = m*(m + 1)/2, with m positive, is a triangular number else t(n) = 0. For example, n = 10 = (4*5)/2 is a triangular number, t(10) = -30, and so a(10) = -30 + 3*a(9) - 5*a(7) + 7*a(4) = -30 + 39 - 40 + 49 = 18. - Peter Bala, Apr 06 2022
Recurrence: a(p^x) = p*a(p^(x-1)) + 1, if p is prime and for any integer x. E.g., a(5^3) = 5*a(5^2) + 1 = 5*31 + 1 = 156. - Jules Beauchamp, Nov 11 2022
Sum_{n>=1} a(n)/exp(2*Pi*n) = 1/24 - 1/(8*Pi) = A319462. - Vaclav Kotesovec, May 07 2023
a(n) < (7n*A001221(n) + 10*n)/6 [Duncan, 1961] (see Duncan and Tattersall). - Stefano Spezia, Jul 13 2025

A055231 Powerfree part of n: product of primes that divide n only once.

Original entry on oeis.org

1, 2, 3, 1, 5, 6, 7, 1, 1, 10, 11, 3, 13, 14, 15, 1, 17, 2, 19, 5, 21, 22, 23, 3, 1, 26, 1, 7, 29, 30, 31, 1, 33, 34, 35, 1, 37, 38, 39, 5, 41, 42, 43, 11, 5, 46, 47, 3, 1, 2, 51, 13, 53, 2, 55, 7, 57, 58, 59, 15, 61, 62, 7, 1, 65, 66, 67, 17, 69, 70, 71, 1, 73, 74, 3, 19, 77, 78, 79, 5
Offset: 1

Views

Author

Labos Elemer, Jun 21 2000

Keywords

Comments

The previous name was: Write n = K^2*F where F is squarefree and F = g*f where g = gcd(K,F) and f = F/g; then a(n) = f(n) = F(n)/g(n). Thus gcd(K^2,f) = 1.
Differs from A007913; they coincide if and only if g(n) = 1.
a(n) is the powerfree part of n; i.e., if n=Product(pi^ei) over all i (prime factorization) then a(n)=Product(pi^ei) over those i with ei=1; if n=b*c^2*d^3 then a(n) is minimum possible value of b. - Henry Bottomley, Sep 01 2000
Also denominator of n/rad(n)^2, where rad is the squarefree kernel of n (A007947), numerator: A062378. - Reinhard Zumkeller, Dec 10 2002
Largest unitary squarefree number dividing n (the unitary squarefree kernel of n). - Steven Finch, Mar 01 2004
From Bernard Schott, Dec 19 2022: (Start)
a(n) = 1 iff n is a squareful number (A001694).
1 < a(n) < n iff n is a nonsquarefree number that is not squareful (A332785).
a(n) = n iff n is a squarefree number (A005117). (End)

Crossrefs

Positions of 1's: A001694.
Cf. A008833, A007913, A007947, A000188, A057521, A055773 (computed for n!), A056169 (number of prime divisors), A056671 (number of divisors), A092261 (sum of divisors of the n-th term), A197863, A332785.
Cf. A005117 (subsequence).

Programs

  • Maple
    A055231 := proc(n)
        a := 1 ;
        if n > 1 then
            for f in ifactors(n)[2] do
                if op(2, f) = 1 then
                    a := a*op(1, f) ;
                end if;
            end do:
        end if;
        a ;
    end proc: # R. J. Mathar, Dec 23 2011
  • Mathematica
    rad[n_] := Times @@ First /@ FactorInteger[n]; a[n_] := Denominator[n/rad[n]^2]; Table[a[n], {n, 1, 80}] (* Jean-François Alcover, Jun 20 2013, after Reinhard Zumkeller *)
    f[p_, e_] := If[e==1, p, 1]; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 100] (* Amiram Eldar, Sep 07 2020 *)
  • PARI
    A055231(n)={
       local(a=1);
       f=factor(n) ;
       for(i=1,matsize(f)[1],
             if( f[i,2] ==1, a *=  f[i,1]
             )
       ) ;
       a ;
    } /* R. J. Mathar, Mar 12 2012 */
    
  • PARI
    a(n) = {my(f=factor(n)); for (k=1, #f~, if (f[k,2] > 1, f[k,2] = 0);); factorback(f);} \\ Michel Marcus, Aug 27 2017
    
  • Python
    from math import prod
    from sympy import factorint
    def A055231(n): return prod(p for p, e in factorint(n).items() if e == 1) # Chai Wah Wu, Nov 14 2022
  • Scheme
    ;; With memoization-macro definec.
    (definec (A055231 n) (if (= 1 n) 1 (* (if (= 1 (A067029 n)) (A020639 n) 1) (A055231 (A028234 n))))) ;; Antti Karttunen, Nov 28 2017
    

Formula

a(n) = A007913(n)/gcd(A008833(n), A007913(n)).
a(n) = n/A057521(n).
Multiplicative with a(p) = p and a(p^e) = 1 for e > 1. - Vladeta Jovovic, Nov 01 2001
Dirichlet g.f.: zeta(s)*Product_{primes p} (1 + p^(1-s) - p^(-s) - p^(1-2s) + p^(-2s)). - R. J. Mathar, Dec 21 2011
a(n) = A007947(n)/A071773(n). - observed by Velin Yanev, Aug 27 2017, confirmed by Antti Karttunen, Nov 28 2017
a(1) = 1; for n > 1, a(n) = A020639(n)^A063524(A067029(n)) * a(A028234(n)). - Antti Karttunen, Nov 28 2017
a(n*m) = a(n)*a(m)/(gcd(n,a(m))*gcd(m,a(n))) for all n and m > 0 (conjectured). - Velin Yanev, Feb 06 2019. [This follows easily from the comment of Vladeta Jovovic. - N. J. A. Sloane, Mar 14 2019]
From Vaclav Kotesovec, Dec 19 2019: (Start)
Dirichlet g.f.: zeta(s-1) * zeta(s) * Product_{primes p} (1 - p^(1-3*s) + p^(2-3*s) - p^(2-2*s) + p^(-2*s) - p^(-s)).
Sum_{k=1..n} a(k) ~ c * Pi^2 * n^2 / 12, where c = Product_{primes p} (1 - 2/p^2 + 2/p^4 - 1/p^5) = 0.394913518073109872954607634745304266741971541072... (End)
a(n) = A197863(n)/n. - Amiram Eldar, Sep 01 2023

Extensions

Name replaced with a simpler description (based on Henry Bottomley's comment) by Antti Karttunen, Nov 28 2017
Incorrect comments and example deleted by Peter Munn, Nov 30 2022

A291750 Compound filter: a(n) = P(A003557(n), A048250(n)), where P(n,k) is sequence A000027 used as a pairing function.

Original entry on oeis.org

1, 4, 7, 8, 16, 67, 29, 19, 18, 154, 67, 80, 92, 277, 277, 53, 154, 94, 191, 173, 497, 631, 277, 109, 50, 862, 75, 302, 436, 2557, 497, 169, 1129, 1432, 1129, 142, 704, 1771, 1541, 214, 862, 4561, 947, 668, 328, 2557, 1129, 179, 98, 236, 2557, 905, 1432, 199, 2557, 355, 3161, 4006, 1771, 2630, 1892, 4561, 564, 593, 3487, 10297, 2279, 1487, 4561, 10297, 2557
Offset: 1

Views

Author

Antti Karttunen, Sep 04 2017

Keywords

Comments

A000203 (sigma(n)) is a function of this sequence, because formula
A000203(n) = A092261(n) * A295294(n)
can be rewritten as a relation:
where A057521(n) = A064549(A003557(n)), thus A000203(n) is a function of A003557(n) and A048250(n), the values that are packed here into a(n).
A001615 (Dedekind's psi) is a function of this sequence, because it can be written as A001615(n) = A003557(n)*A048250(n).

Crossrefs

Cf. A000027, A000203, A001615, A003557, A048250, A291751 (rgs-version of this filter).

Programs

Formula

a(n) = (1/2)*(2 + ((A003557(n) + A048250(n))^2) - A003557(n) - 3*A048250(n)).

A295294 Sum of the divisors of the powerful part of n: a(n) = A000203(A057521(n)).

Original entry on oeis.org

1, 1, 1, 7, 1, 1, 1, 15, 13, 1, 1, 7, 1, 1, 1, 31, 1, 13, 1, 7, 1, 1, 1, 15, 31, 1, 40, 7, 1, 1, 1, 63, 1, 1, 1, 91, 1, 1, 1, 15, 1, 1, 1, 7, 13, 1, 1, 31, 57, 31, 1, 7, 1, 40, 1, 15, 1, 1, 1, 7, 1, 1, 13, 127, 1, 1, 1, 7, 1, 1, 1, 195, 1, 1, 31, 7, 1, 1, 1, 31, 121, 1, 1, 7, 1, 1, 1, 15, 1, 13, 1, 7, 1, 1, 1, 63
Offset: 1

Views

Author

Antti Karttunen, Nov 25 2017

Keywords

Crossrefs

Programs

  • Mathematica
    Array[DivisorSigma[1, #/Denominator[#/Apply[Times, FactorInteger[#][[All, 1]]]^2] ] &, 96] (* Michael De Vlieger, Nov 26 2017, after Jean-François Alcover at A057521 *)
    f[p_, e_] := If[e == 1, 1, (p^(e+1)-1)/(p-1)]; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Oct 08 2022 *)
  • PARI
    a(n) = {my(f = factor(n), p = f[,1], e = f[,2]); prod(i=1, #p, if(e[i] == 1, 1, (p[i]^(e[i]+1)-1)/(p[i]-1)))}; \\ Amiram Eldar, Oct 08 2022
    
  • Python
    from math import prod
    from sympy import factorint
    def A295294(n): return prod((p**(e+1)-1)//(p-1) for p, e in factorint(n).items() if e > 1) # Chai Wah Wu, Nov 14 2022
  • Scheme
    (define (A295294 n) (A000203 (A057521 n)))
    ;; With memoization-macro definec:
    (definec (A295294 n) (if (= 1 n) n (let ((p (A020639 n)) (e (A067029 n))) (* (if (= e 1) 1 (/ (- (expt p (+ 1 e)) 1) (- p 1))) (A295294 (A028234 n))))))
    

Formula

Multiplicative with a(p) = 1 and a(p^e) = (p^(e+1)-1)/(p-1) for e > 1.
a(n) = A000203(n) / A092261(n).
From Amiram Eldar, Oct 08 2022: (Start)
a(n) = 1 iff n is squarefree (A005117).
a(n) = A000203(n) iff n is powerful (A001694). (End)
Dirichlet g.f.: zeta(s) * zeta(s-1) * Product_{p prime} (1 - 1/p^(s-1) + 1/p^(2*s-2) + 1/p^(2*s-1) - 1/p^(3*s-2)). - Amiram Eldar, Sep 09 2023

A295295 Sum of squarefree divisors of the powerful part of n: a(n) = A048250(A057521(n)).

Original entry on oeis.org

1, 1, 1, 3, 1, 1, 1, 3, 4, 1, 1, 3, 1, 1, 1, 3, 1, 4, 1, 3, 1, 1, 1, 3, 6, 1, 4, 3, 1, 1, 1, 3, 1, 1, 1, 12, 1, 1, 1, 3, 1, 1, 1, 3, 4, 1, 1, 3, 8, 6, 1, 3, 1, 4, 1, 3, 1, 1, 1, 3, 1, 1, 4, 3, 1, 1, 1, 3, 1, 1, 1, 12, 1, 1, 6, 3, 1, 1, 1, 3, 4, 1, 1, 3, 1, 1, 1, 3, 1, 4, 1, 3, 1, 1, 1, 3, 1, 8, 4, 18, 1, 1, 1, 3, 1
Offset: 1

Views

Author

Antti Karttunen, Nov 25 2017

Keywords

Comments

The sum of the squarefree divisors of n whose square divides n. - Amiram Eldar, Oct 13 2023

Crossrefs

Programs

  • Mathematica
    Array[DivisorSum[#/Denominator[#/Apply[Times, FactorInteger[#][[All, 1]]]^2], # &, SquareFreeQ] &, 105] (* Michael De Vlieger, Nov 26 2017, after Jean-François Alcover at A057521 *)
    f[p_, e_] := If[e == 1, 1, p+1] ; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Sep 18 2023 *)
  • PARI
    a(n) = my(f=factor(n)); for (i=1, #f~, if (f[i,2]==1, f[i,1]=1)); sumdiv(factorback(f), d, d*issquarefree(d)); \\ Michel Marcus, Jan 29 2021

Formula

Multiplicative with a(p) = 1 and a(p^e) = (p+1) for e > 1.
a(n) = A048250(n) / A092261(n).
a(n) = Sum_{d^2|n} d * mu(d)^2. - Wesley Ivan Hurt, Feb 13 2022
From Amiram Eldar, Sep 18 2023: (Start)
Dirichlet g.f.: zeta(s) * zeta(2*s-1) / zeta(4*s-2).
Sum_{k=1..n} a(k) ~ (3*n/Pi^2) * (log(n) + 3*gamma - 1 - 4*zeta'(2)/zeta(2)), where gamma is Euler's constant (A001620). (End)
a(n) = A048250(n) - A344137(n). - Amiram Eldar, Oct 13 2023

A360720 a(n) is the sum of unitary divisors of n that are powerful (A001694).

Original entry on oeis.org

1, 1, 1, 5, 1, 1, 1, 9, 10, 1, 1, 5, 1, 1, 1, 17, 1, 10, 1, 5, 1, 1, 1, 9, 26, 1, 28, 5, 1, 1, 1, 33, 1, 1, 1, 50, 1, 1, 1, 9, 1, 1, 1, 5, 10, 1, 1, 17, 50, 26, 1, 5, 1, 28, 1, 9, 1, 1, 1, 5, 1, 1, 10, 65, 1, 1, 1, 5, 1, 1, 1, 90, 1, 1, 26, 5, 1, 1, 1, 17, 82
Offset: 1

Views

Author

Amiram Eldar, Feb 18 2023

Keywords

Comments

The number of these divisors is given by A323308.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[e == 1, 1, 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] == 1, 1, f[i, 1]^f[i, 2] + 1));}
    
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (1 - p^3*X^4 - p^2*X^3 + p^3*X^3) / ((1 - X) * (1 - p^2*X^2)))[n], ", ")) \\ Vaclav Kotesovec, Feb 18 2023

Formula

Multiplicative with a(p) = 1 and a(p^e) = p^e + 1 for e > 1.
a(n) <= A034448(n), with equality if and only if n is powerful (A001694).
a(n) <= A183097(n), with equality if and only if n is cubefree (A004709).
Dirichlet g.f.: zeta(s)*zeta(s-1)*Product_{p prime} (1 - p^(1-s) + p^(2-2*s) - p^(2-3*s)).
From Vaclav Kotesovec, Feb 18 2023: (Start)
Dirichlet g.f.: zeta(s) * zeta(2*s-2) * Product_{primes p} (1 - p^(3-4*s) - p^(2-3*s) + p^(3-3*s)).
Sum_{k=1..n} a(k) ~ c * zeta(3/2) * n^(3/2) / 3, where c = Product_{primes p} (1 + 1/p^(3/2) - 1/p^(5/2) - 1/p^3) = 1.48039182258752809541724060173644... (End)
a(n) = A034448(A057521(n)) (the sum of unitary divisors of the powerful part of n). - Amiram Eldar, Dec 12 2023
a(n) = A034448(n)/A092261(n). - Amiram Eldar, Jun 19 2025

A371242 The sum of the unitary divisors of n that are cubefree numbers (A004709).

Original entry on oeis.org

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

Views

Author

Amiram Eldar, Mar 16 2024

Keywords

Comments

The number of these divisors is A365498(n).

References

  • D. Suryanarayana, The number and sum of k-free integers <= x which are prime to n, Indian J. Math., Vol. 11 (1969), pp. 131-139.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[e < 3, p^e + 1, 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] < 3, f[i, 1]^f[i, 2] + 1, 1));}

Formula

Multiplicative with a(p^e) = p^e + 1 for e <= 2, and a(p^e) = 1 for e >= 3.
a(n) = 1 if and only if n is cubefull (A036966).
a(n) = A000203(n) if and only if n is squarefree (A005117).
a(n) <= A034448(n), with equality if and only if n is cubefree.
Dirichlet g.f.: zeta(s) * Product_{p prime} (1 + 1/p^(s-1) + 1/p^(2*s-2) - 1/p^(2*s-1) - 1/p^(3*s-2)).
Sum_{j=1..n} a(j) ~ c * n^2 / 2, where c = Product_{p prime} (1 - 1/p^3 + 1/(p^2 + p)) = 1.16545286600957717104.... .
In general, the formula above holds for the sum of unitary divisors of n that are k-free numbers (k >= 2) with c = Product_{p prime} (1 - 1/p^k + 1/(p^2 + p)) (Suryanarayana, 1969). If k = 2 then c = A065465. In the limit when k -> oo, c = A306633.
Showing 1-10 of 22 results. Next