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

A344584 Difference between the inverse Möbius transform of the arithmetic derivative of n and the sum of the proper divisors of n: a(n) = A319684(n) - A001065(n).

Original entry on oeis.org

0, 0, 0, 2, 0, 1, 0, 10, 3, 1, 0, 11, 0, 1, 1, 34, 0, 13, 0, 15, 1, 1, 0, 47, 5, 1, 21, 19, 0, 12, 0, 98, 1, 1, 1, 59, 0, 1, 1, 67, 0, 14, 0, 27, 22, 1, 0, 151, 7, 21, 1, 31, 0, 76, 1, 87, 1, 1, 0, 82, 0, 1, 28, 258, 1, 18, 0, 39, 1, 16, 0, 203, 0, 1, 26, 43, 1, 20, 0, 219, 102, 1, 0, 104, 1, 1, 1, 127, 0, 99, 1, 51, 1, 1, 1, 423
Offset: 1

Views

Author

Antti Karttunen, May 24 2021

Keywords

Crossrefs

Inverse Möbius transform of A344178.

Programs

  • Mathematica
    Block[{a}, a[1] = 0; a[n_] := a[n] = If[n < 2, 0, n Total[#2/#1 & @@@ FactorInteger[n]]]; Array[DivisorSum[#, a[#] &] - DivisorSigma[1, #] + # &, 96]] (* Michael De Vlieger, May 24 2021 *)
  • PARI
    A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
    A319684(n) = sumdiv(n, d, A003415(d));
    A344584(n) = (A319684(n) - (sigma(n)-n));

Formula

a(n) = A319684(n) - A001065(n) = A211991(n) + A319683(n).
a(n) = Sum_{d|n} A344178(d).
a(n) = n + Sum_{d|n} A168036(d).

A003415 a(n) = n' = arithmetic derivative of n: a(0) = a(1) = 0, a(prime) = 1, a(m*n) = m*a(n) + n*a(m).

Original entry on oeis.org

0, 0, 1, 1, 4, 1, 5, 1, 12, 6, 7, 1, 16, 1, 9, 8, 32, 1, 21, 1, 24, 10, 13, 1, 44, 10, 15, 27, 32, 1, 31, 1, 80, 14, 19, 12, 60, 1, 21, 16, 68, 1, 41, 1, 48, 39, 25, 1, 112, 14, 45, 20, 56, 1, 81, 16, 92, 22, 31, 1, 92, 1, 33, 51, 192, 18, 61, 1, 72, 26, 59, 1, 156, 1, 39, 55, 80, 18, 71
Offset: 0

Views

Author

Keywords

Comments

Can be extended to negative numbers by defining a(-n) = -a(n).
Based on the product rule for differentiation of functions: for functions f(x) and g(x), (fg)' = f'g + fg'. So with numbers, (ab)' = a'b + ab'. This implies 1' = 0. - Kerry Mitchell, Mar 18 2004
The derivative of a number x with respect to a prime number p as being the number "dx/dp" = (x-x^p)/p, which is an integer due to Fermat's little theorem. - Alexandru Buium, Mar 18 2004
The relation (ab)' = a'b + ab' implies 1' = 0, but it does not imply p' = 1 for p a prime. In fact, any function f defined on the primes can be extended uniquely to a function on the integers satisfying this relation: f(Product_i p_i^e_i) = (Product_i p_i^e_i) * (Sum_i e_i*f(p_i)/p_i). - Franklin T. Adams-Watters, Nov 07 2006
See A131116 and A131117 for record values and where they occur. - Reinhard Zumkeller, Jun 17 2007
Let n be the product of a multiset P of k primes. Consider the k-dimensional box whose edges are the elements of P. Then the (k-1)-dimensional surface of this box is 2*a(n). For example, 2*a(25) = 20, the perimeter of a 5 X 5 square. Similarly, 2*a(18) = 42, the surface area of a 2 X 3 X 3 box. - David W. Wilson, Mar 11 2011
The arithmetic derivative n' was introduced, probably for the first time, by the Spanish mathematician José Mingot Shelly in June 1911 with "Una cuestión de la teoría de los números", work presented at the "Tercer Congreso Nacional para el Progreso de las Ciencias, Granada", cf. link to the abstract on Zentralblatt MATH, and L. E. Dickson, History of the Theory of Numbers. - Giorgio Balzarotti, Oct 19 2013
a(A235991(n)) odd; a(A235992(n)) even. - Reinhard Zumkeller, Mar 11 2014
Sequence A157037 lists numbers with prime arithmetic derivative, i.e., indices of primes in this sequence. - M. F. Hasler, Apr 07 2015
Maybe the simplest "natural extension" of the arithmetic derivative, in the spirit of the above remark by Franklin T. Adams-Watters (2006), is the "pi based" version where f(p) = primepi(p), see sequence A258851. When f is chosen to be the identity map (on primes), one gets A066959. - M. F. Hasler, Jul 13 2015
When n is composite, it appears that a(n) has lower bound 2*sqrt(n), with equality when n is the square of a prime, and a(n) has upper bound (n/2)*log_2(n), with equality when n is a power of 2. - Daniel Forgues, Jun 22 2016
If n = p1*p2*p3*... where p1, p2, p3, ... are all the prime factors of n (not necessarily distinct), and h is a real number (we assume h nonnegative and < 1), the arithmetic derivative of n is equivalent to n' = lim_{h->0} ((p1+h)*(p2+h)*(p3+h)*... - (p1*p2*p3*...))/h. It also follows that the arithmetic derivative of a prime is 1. We could assume h = 1/N, where N is an integer; then the limit becomes {N -> oo}. Note that n = 1 is not a prime and plays the role of constant. - Giorgio Balzarotti, May 01 2023

Examples

			6' = (2*3)' = 2'*3 + 2*3' = 1*3 + 2*1 = 5.
Note that, for example, 2' + 3' = 1 + 1 = 2, (2+3)' = 5' = 1. So ' is not linear.
G.f. = x^2 + x^3 + 4*x^4 + x^5 + 5*x^6 + x^7 + 12*x^8 + 6*x^9 + 7*x^10 + ...
		

References

  • G. Balzarotti, P. P. Lava, La derivata aritmetica, Editore U. Hoepli, Milano, 2013.
  • E. J. Barbeau, Problem, Canad. Math. Congress Notes, 5 (No. 8, April 1973), 6-7.
  • L. E. Dickson, History of the Theory of Numbers, Vol. 1, Chapter XIX, p. 451, Dover Edition, 2005. (Work originally published in 1919.)
  • A. M. Gleason et al., The William Lowell Putnam Mathematical Competition: Problems and Solutions 1938-1964, Math. Assoc. America, 1980, p. 295.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A086134 (least prime factor of n').
Cf. A086131 (greatest prime factor of n').
Cf. A068719 (derivative of 2n).
Cf. A068720 (derivative of n^2).
Cf. A068721 (derivative of n^3).
Cf. A001787 (derivative of 2^n).
Cf. A027471 (derivative of 3^(n-1)).
Cf. A085708 (derivative of 10^n).
Cf. A068327 (derivative of n^n).
Cf. A024451 (derivative of p#).
Cf. A068237 (numerator of derivative of 1/n).
Cf. A068238 (denominator of derivative of 1/n).
Cf. A068328 (derivative of squarefree numbers).
Cf. A068311 (derivative of n!).
Cf. A168386 (derivative of n!!).
Cf. A260619 (derivative of hyperfactorial(n)).
Cf. A260620 (derivative of superfactorial(n)).
Cf. A068312 (derivative of triangular numbers).
Cf. A068329 (derivative of Fibonacci(n)).
Cf. A096371 (derivative of partition number).
Cf. A099301 (derivative of d(n)).
Cf. A099310 (derivative of phi(n)).
Cf. A342925 (derivative of sigma(n)).
Cf. A349905 (derivative of prime shift).
Cf. A327860 (derivative of primorial base exp-function).
Cf. A369252 (derivative of products of three odd primes), A369251 (same sorted).
Cf. A068346 (second derivative of n).
Cf. A099306 (third derivative of n).
Cf. A258644 (fourth derivative of n).
Cf. A258645 (fifth derivative of n).
Cf. A258646 (sixth derivative of n).
Cf. A258647 (seventh derivative of n).
Cf. A258648 (eighth derivative of n).
Cf. A258649 (ninth derivative of n).
Cf. A258650 (tenth derivative of n).
Cf. A185232 (n-th derivative of n).
Cf. A258651 (A(n,k) = k-th arithmetic derivative of n).
Cf. A085731 (gcd(n,n')), A083345 (n'/gcd(n,n')), A057521 (gcd(n, (n')^k) for k>1).
Cf. A342014 (n' mod n), A369049 (n mod n').
Cf. A341998 (A003557(n')), A342001 (n'/A003557(n)).
Cf. A098699 (least x such that x' = n, antiderivative of n).
Cf. A098700 (n such that x' = n has no integer solution).
Cf. A099302 (number of solutions to x' = n).
Cf. A099303 (greatest x such that x' = n).
Cf. A051674 (n such that n' = n).
Cf. A083347 (n such that n' < n).
Cf. A083348 (n such that n' > n).
Cf. A099304 (least k such that (n+k)' = n' + k').
Cf. A099305 (number of solutions to (n+k)' = n' + k').
Cf. A328235 (least k > 0 such that (n+k)' = u * n' for some natural number u).
Cf. A328236 (least m > 1 such that (m*n)' = u * n' for some natural number u).
Cf. A099307 (least k such that the k-th arithmetic derivative of n is zero).
Cf. A099308 (k-th arithmetic derivative of n is zero for some k).
Cf. A099309 (k-th arithmetic derivative of n is nonzero for all k).
Cf. A129150 (n-th derivative of 2^3).
Cf. A129151 (n-th derivative of 3^4).
Cf. A129152 (n-th derivative of 5^6).
Cf. A189481 (x' = n has a unique solution).
Cf. A190121 (partial sums).
Cf. A258057 (first differences).
Cf. A229501 (n divides the n-th partial sum).
Cf. A165560 (parity).
Cf. A235991 (n' is odd), A235992 (n' is even).
Cf. A327863, A327864, A327865 (n' is a multiple of 3, 4, 5).
Cf. A157037 (n' is prime), A192192 (n'' is prime), A328239 (n''' is prime).
Cf. A328393 (n' is squarefree), A328234 (squarefree and > 1).
Cf. A328244 (n'' is squarefree), A328246 (n''' is squarefree).
Cf. A328303 (n' is not squarefree), A328252 (n' is squarefree, but n is not).
Cf. A328248 (least k such that the (k-1)-th derivative of n is squarefree).
Cf. A328251 (k-th arithmetic derivative is never squarefree for any k >= 0).
Cf. A256750 (least k such that the k-th derivative is either 0 or has a factor p^p).
Cf. A327928 (number of distinct primes p such that p^p divides n').
Cf. A342003 (max. exponent k for any prime power p^k that divides n').
Cf. A327929 (n' has at least one divisor of the form p^p).
Cf. A327978 (n' is primorial number > 1).
Cf. A328243 (n' is a partial sum of primorial numbers and larger than one).
Cf. A328310 (maximal prime exponent of n' minus maximal prime exponent of n).
Cf. A328320 (max. prime exponent of n' is less than that of n).
Cf. A328321 (max. prime exponent of n' is >= that of n).
Cf. A328383 (least k such that the k-th derivative of n is either a multiple or a divisor of n, but not both).
Cf. A263111 (the ordinal transform of a).
Cf. A300251, A319684 (Möbius and inverse Möbius transform).
Cf. A305809 (Dirichlet convolution square).
Cf. A349133, A349173, A349394, A349380, A349618, A349619, A349620, A349621 (for miscellaneous Dirichlet convolutions).
Cf. A069359 (similar formula which agrees on squarefree numbers).
Cf. A258851 (the pi-based arithmetic derivative of n).
Cf. A328768, A328769 (primorial-based arithmetic derivatives of n).
Cf. A328845, A328846 (Fibonacci-based arithmetic derivatives of n).
Cf. A302055, A327963, A327965, A328099 (for other variants and modifications).
Cf. A038554 (another sequence using "derivative" in its name, but involving binary expansion of n).
Cf. A322582, A348507 (lower and upper bounds), also A002620.

Programs

  • GAP
    A003415:= Concatenation([0,0],List(List([2..10^3],Factors),
    i->Product(i)*Sum(i,j->1/j))); # Muniru A Asiru, Aug 31 2017
    (APL, Dyalog dialect) A003415 ← { ⍺←(0 1 2) ⋄ ⍵≤1:⊃⍺ ⋄ 0=(3⊃⍺)|⍵:((⊃⍺+(2⊃⍺)×(⍵÷3⊃⍺)) ((2⊃⍺)×(3⊃⍺)) (3⊃⍺)) ∇ ⍵÷3⊃⍺ ⋄ ((⊃⍺) (2⊃⍺) (1+(3⊃⍺))) ∇ ⍵} ⍝ Antti Karttunen, Feb 18 2024
  • Haskell
    a003415 0 = 0
    a003415 n = ad n a000040_list where
      ad 1 _             = 0
      ad n ps'@(p:ps)
         | n < p * p     = 1
         | r > 0         = ad n ps
         | otherwise     = n' + p * ad n' ps' where
           (n',r) = divMod n p
    -- Reinhard Zumkeller, May 09 2011
    
  • Magma
    Ad:=func; [n le 1 select 0 else Ad(n): n in [0..80]]; // Bruno Berselli, Oct 22 2013
    
  • Maple
    A003415 := proc(n) local B,m,i,t1,t2,t3; B := 1000000000039; if n<=1 then RETURN(0); fi; if isprime(n) then RETURN(1); fi; t1 := ifactor(B*n); m := nops(t1); t2 := 0; for i from 1 to m do t3 := op(i,t1); if nops(t3) = 1 then t2 := t2+1/op(t3); else t2 := t2+op(2,t3)/op(op(1,t3)); fi od: t2 := t2-1/B; n*t2; end;
    A003415 := proc(n)
            local a,f;
            a := 0 ;
            for f in ifactors(n)[2] do
                    a := a+ op(2,f)/op(1,f);
            end do;
            n*a ;
    end proc: # R. J. Mathar, Apr 05 2012
  • Mathematica
    a[ n_] := If[ Abs @ n < 2, 0, n Total[ #2 / #1 & @@@ FactorInteger[ Abs @ n]]]; (* Michael Somos, Apr 12 2011 *)
    dn[0] = 0; dn[1] = 0; dn[n_?Negative] := -dn[-n]; dn[n_] := Module[{f = Transpose[FactorInteger[n]]}, If[PrimeQ[n], 1, Total[n*f[[2]]/f[[1]]]]]; Table[dn[n], {n, 0, 100}] (* T. D. Noe, Sep 28 2012 *)
  • PARI
    A003415(n) = {local(fac);if(n<1,0,fac=factor(n);sum(i=1,matsize(fac)[1],n*fac[i,2]/fac[i,1]))} /* Michael B. Porter, Nov 25 2009 */
    
  • PARI
    apply( A003415(n)=vecsum([n/f[1]*f[2]|f<-factor(n+!n)~]), [0..99]) \\ M. F. Hasler, Sep 25 2013, updated Nov 27 2019
    
  • PARI
    A003415(n) = { my(s=0, m=1, spf); while(n>1, spf = A020639(n); n /= spf; s += m*n; m *= spf); (s); }; \\ Antti Karttunen, Mar 10 2021
    
  • PARI
    a(n) = my(f=factor(n), r=[1/(e+!e)|e<-f[,1]], c=f[,2]); n*r*c; \\ Ruud H.G. van Tol, Sep 03 2023
    
  • Python
    from sympy import factorint
    def A003415(n):
        return sum([int(n*e/p) for p,e in factorint(n).items()]) if n > 1 else 0
    # Chai Wah Wu, Aug 21 2014
    
  • Sage
    def A003415(n):
        F = [] if n == 0 else factor(n)
        return n * sum(g / f for f, g in F)
    [A003415(n) for n in range(79)] # Peter Luschny, Aug 23 2014
    

Formula

If n = Product p_i^e_i, a(n) = n * Sum (e_i/p_i).
a(m*p^p) = (m + a(m))*p^p, p prime: a(m*A051674(k))=A129283(m)*A051674(k). - Reinhard Zumkeller, Apr 07 2007
For n > 1: a(n) = a(A032742(n)) * A020639(n) + A032742(n). - Reinhard Zumkeller, May 09 2011
a(n) = n * Sum_{p|n} v_p(n)/p, where v_p(n) is the largest power of the prime p dividing n. - Wesley Ivan Hurt, Jul 12 2015
For n >= 2, Sum_{k=2..n} floor(1/a(k)) = pi(n) = A000720(n) (see K. T. Atanassov article). - Ivan N. Ianakiev, Mar 22 2019
From A.H.M. Smeets, Jan 17 2020: (Start)
Limit_{n -> oo} (1/n^2)*Sum_{i=1..n} a(i) = A136141/2.
Limit_{n -> oo} (1/n)*Sum_{i=1..n} a(i)/i = A136141.
a(n) = n if and only if n = p^p, where p is a prime number. (End)
Dirichlet g.f.: zeta(s-1)*Sum_{p prime} 1/(p^s-p), see A136141 (s=2), A369632 (s=3) [Haukkanen, Merikoski and Tossavainen]. - Sebastian Karlsson, Nov 25 2021
From Antti Karttunen, Nov 25 2021: (Start)
a(n) = Sum_{d|n} d * A349394(n/d).
For all n >= 1, A322582(n) <= a(n) <= A348507(n).
If n is not a prime, then a(n) >= 2*sqrt(n), or in other words, for all k >= 1 for which A002620(n)+k is not a prime, we have a(A002620(n)+k) > n. [See Ufnarovski and Åhlander, Theorem 9, point (3).]
(End)

Extensions

More terms from Michel ten Voorde, Apr 11 2001

A349394 a(p^e) = p^(e-1) for prime powers, a(n) = 0 for all other n; Dirichlet convolution of A003415 (arithmetic derivative of n) with A055615 (Dirichlet inverse of n).

Original entry on oeis.org

0, 1, 1, 2, 1, 0, 1, 4, 3, 0, 1, 0, 1, 0, 0, 8, 1, 0, 1, 0, 0, 0, 1, 0, 5, 0, 9, 0, 1, 0, 1, 16, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 7, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 32, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 27, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0
Offset: 1

Views

Author

Antti Karttunen, Nov 18 2021

Keywords

Comments

Dirichlet convolution of this sequence with Euler phi (A000010) is A300251.
Convolving this sequence with sigma (A000203) produces A319684.
With a(1) = 1 instead of 0, this would be the Dirichlet convolution of A129283 (A003415(n)+n) with A055615. Thus when we subtract A063524 from that convolution, we get this sequence. (See also A349434). Compare also to the convolution of A069359 (sequence agreeing with A003415 on squarefree numbers) with A055615, which is the characteristic function of primes, A010051. - Antti Karttunen, Nov 20 2021

Crossrefs

Programs

  • Haskell
    import Math.NumberTheory.Primes
    a n = case factorise n of
        [(p,e)] -> unPrime p^(e-1) :: Int
         -> 0 -- _Sebastian Karlsson, Nov 19 2021
  • Mathematica
    f[p_, e_] := e/p; d[1] = 0; d[n_] := n * Plus @@ f @@@ FactorInteger[n]; a[n_] := DivisorSum[n, # * MoebiusMu[#] * d[n/#] &]; Array[a, 100] (* Amiram Eldar, Nov 19 2021 *)
  • PARI
    A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
    A055615(n) = (n*moebius(n));
    A349394(n) = sumdiv(n,d,A003415(n/d)*A055615(d));
    
  • PARI
    A349394(n) = { my(p=0,e); if((e=isprimepower(n,&p)),p^(e-1),0); }; \\ (After Sebastian Karlsson's new formula) - Antti Karttunen, Nov 20 2021
    

Formula

a(n) = Sum_{d|n} A003415(n/d) * A055615(d).
a(n) = 0 unless n is a prime power (A246655), in which case a(p^e) = p^(e-1). - Sebastian Karlsson, Nov 19 2021
a(n) = A003557(n) * A069513(n). [From above] - Antti Karttunen, Nov 20 2021
Dirichlet g.f.: Sum_{p prime} 1/(p^s-p) [Follows from the D.g.f. of A003415 proved by Haukkanen et al.]. - Sebastian Karlsson, Nov 25 2021
Sum_{k=1..n} a(k) has an average value c*n, where c = A137245 = Sum_{primes p} 1/(p*log(p)) = 1.63661632335... - Vaclav Kotesovec, Mar 03 2023

Extensions

Added Sebastian Karlsson's formula as the new primary definition - Antti Karttunen, Nov 20 2021

A323599 Dirichlet convolution of the identity function with omega.

Original entry on oeis.org

0, 1, 1, 3, 1, 7, 1, 7, 4, 9, 1, 19, 1, 11, 10, 15, 1, 25, 1, 25, 12, 15, 1, 43, 6, 17, 13, 31, 1, 54, 1, 31, 16, 21, 14, 67, 1, 23, 18, 57, 1, 68, 1, 43, 37, 27, 1, 91, 8, 49, 22, 49, 1, 79, 18, 71, 24, 33, 1, 142, 1, 35, 45, 63, 20, 96, 1, 61, 28, 90, 1, 151, 1, 41, 55
Offset: 1

Views

Author

Torlach Rush, Jan 18 2019

Keywords

Comments

a(n) = omega(n) = 1 iff n is prime.
a(n) = A323600(n) = 1 iff n is prime.
a(n) = A323600(n) - 1 = 1 iff n is the square of a prime.
a(n) = A323600(n) - 2 = 2 iff n is a squarefree semiprime.
a(n) = A323600(n) - (p + 2) if n is the cube of a prime p.

Crossrefs

Inverse Möbius transform of A069359.

Programs

  • Maple
    with(numtheory):
    a:= n-> add(d*nops(factorset(n/d)), d=divisors(n)):
    seq(a(n), n=1..100);  # Alois P. Heinz, Jan 28 2019
  • Mathematica
    Table[DivisorSum[n, # PrimeNu[n/#] &], {n, 75}] (* Michael De Vlieger, Jan 27 2019 *)
  • PARI
    a(n) = sumdiv(n, d, d*omega(n/d)); \\ Michel Marcus, Jan 22 2019

Formula

a(n) = Sum_{d|n} d * A001221(n/d).
a(n) = Sum_{p|n} sigma(n/p) where p is prime and sigma(n) = A000203(n). - Ridouane Oudra, Apr 28 2019
a(n) = Sum_{d|n} A069359(d), a(n) = A276085(A329380(n)). - Antti Karttunen, Nov 12 2019
From Torlach Rush, Mar 23 2024: (Start)
For p in primes: (Start)
a(p^(k+1)) = a(p^k) + p^k, k >= 0.
a(p^2) = p + 1.
(End)
a(2^k) = 2^k - 1, k >= 0.
(End)

A347130 a(n) = Sum_{d|n} d * A003415(n/d), where A003415 is the arithmetic derivative.

Original entry on oeis.org

0, 1, 1, 6, 1, 10, 1, 24, 9, 14, 1, 48, 1, 18, 16, 80, 1, 63, 1, 72, 20, 26, 1, 176, 15, 30, 54, 96, 1, 124, 1, 240, 28, 38, 24, 270, 1, 42, 32, 272, 1, 164, 1, 144, 117, 50, 1, 560, 21, 135, 40, 168, 1, 324, 32, 368, 44, 62, 1, 552, 1, 66, 153, 672, 36, 244, 1, 216, 52, 236, 1, 936, 1, 78, 165, 240, 36, 284, 1, 880
Offset: 1

Views

Author

Antti Karttunen, Aug 23 2021

Keywords

Comments

Dirichlet convolution of the identity function (A000027) with the arithmetic derivative of n (A003415).
Dirichlet convolution of Euler phi (A000010) with A319684.

Crossrefs

Inverse Möbius transform of A347131.

Programs

  • Mathematica
    Table[DivisorSum[n, #*(If[# < 2, 0, # Total[#2/#1 & @@@ FactorInteger[#]]] &[n/#]) &], {n, 80}] (* Michael De Vlieger, Oct 21 2021 *)
  • PARI
    A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
    A347130(n) = sumdiv(n,d,d*A003415(n/d));

Formula

a(n) = Sum_{d|n} d * A003415(n/d).
a(n) = Sum_{d|n} A000010(n/d) * A319684(d).
a(n) = Sum_{d|n} A347131(d).
a(n) = A003557(n) * A347129(n).

A319683 Sum of A003415(d) over the proper divisors d of n, where A003415 is arithmetic derivative.

Original entry on oeis.org

0, 0, 0, 1, 0, 2, 0, 5, 1, 2, 0, 11, 0, 2, 2, 17, 0, 13, 0, 13, 2, 2, 0, 39, 1, 2, 7, 15, 0, 23, 0, 49, 2, 2, 2, 54, 0, 2, 2, 49, 0, 27, 0, 19, 16, 2, 0, 115, 1, 19, 2, 21, 0, 61, 2, 59, 2, 2, 0, 98, 0, 2, 18, 129, 2, 35, 0, 25, 2, 31, 0, 170, 0, 2, 20, 27, 2, 39, 0, 149, 34, 2, 0, 120, 2, 2, 2, 79, 0, 120, 2, 31, 2, 2, 2, 307, 0, 25, 22, 92, 0
Offset: 1

Views

Author

Antti Karttunen, Oct 02 2018

Keywords

Crossrefs

Programs

  • PARI
    A003415(n) = {my(fac); if(n<1, 0, fac=factor(n); sum(i=1, matsize(fac)[1], n*fac[i, 2]/fac[i, 1]))}; \\ From A003415
    A319683(n) = sumdiv(n,d,(dA003415(d));

Formula

a(n) = Sum_{d|n, dA003415(d).
a(n) = A319684(n) - A003415(n).

A327931 Lexicographically earliest infinite sequence such that for all i, j, a(i) = a(j) => A327930(i) = A327930(j).

Original entry on oeis.org

1, 2, 2, 3, 2, 4, 2, 5, 6, 7, 2, 8, 2, 9, 10, 11, 2, 12, 2, 13, 14, 15, 2, 16, 17, 18, 19, 20, 2, 21, 2, 22, 23, 24, 25, 26, 2, 27, 28, 29, 2, 30, 2, 31, 32, 33, 2, 34, 35, 36, 37, 38, 2, 39, 28, 40, 41, 42, 2, 43, 2, 44, 45, 46, 47, 48, 2, 49, 50, 51, 2, 52, 2, 53, 54, 55, 47, 56, 2, 57, 58, 59, 2, 60, 41, 61, 62, 63, 2, 64, 37, 65, 66, 67, 68, 69, 2, 70, 71, 72, 2, 73, 2, 74, 75
Offset: 1

Views

Author

Antti Karttunen, Sep 30 2019

Keywords

Comments

Restricted growth sequence transform of A327930, or equally, of the ordered pair [A003415(n), A319356(n)].
It seems that the sequence takes duplicated values only on primes (A000040) and some subset of squarefree semiprimes (A006881). If this holds, then also the last implication given below is valid.
For all i, j:
a(i) = a(j) => A000005(i) = A000005(j),
a(i) = a(j) => A319684(i) = A319684(j),
a(i) = a(j) => A319685(i) = A319685(j),
a(i) = a(j) => A101296(i) = A101296(j). [Conjectural, see notes above and in A319357]

Examples

			Divisors of 39 are [1, 3, 13, 39], while the divisors of 55 are [1, 5, 11, 55]. Taking their arithmetic derivatives (A003415) yields in both cases [0, 1, 1, 16], thus a(39) = a(55) (= 28, as allotted by restricted growth sequence transform).
		

Crossrefs

Differs from A300249 for the first time at n=105, where a(105)=75, while A300249(105)=56.
Differs from A300235 for the first time at n=153, where a(153)=110, while A300235(153)=106.
Differs from A305895 for the first time at n=3283, where a(3283)=2502, while A305895(3283)=1845.

Programs

  • PARI
    up_to = 8192;
    rgs_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(om,invec[i]), my(pp = mapget(om, invec[i])); outvec[i] = outvec[pp] , mapput(om,invec[i],i); outvec[i] = u; u++ )); outvec; };
    A003415(n) = {my(fac); if(n<1, 0, fac=factor(n); sum(i=1, matsize(fac)[1], n*fac[i, 2]/fac[i, 1]))}; \\ From A003415
    v003415 = vector(up_to,n,A003415(n));
    A327930(n) = { my(m=1); fordiv(n,d,if((d>1), m *= prime(v003415[d]))); (m); };
    v327931 = rgs_transform(vector(up_to, n, A327930(n)));
    A327931(n) = v327931[n];

Formula

a(p) = 2 for all primes p.

A349123 a(n) = Sum_{d|n} A038040(n/d) * A003415(d), where A038040(n) = n*tau(n), and A003415 is the arithmetic derivative of n.

Original entry on oeis.org

0, 1, 1, 8, 1, 15, 1, 40, 12, 21, 1, 96, 1, 27, 24, 160, 1, 126, 1, 144, 30, 39, 1, 440, 20, 45, 90, 192, 1, 279, 1, 560, 42, 57, 36, 720, 1, 63, 48, 680, 1, 369, 1, 288, 234, 75, 1, 1680, 28, 270, 60, 336, 1, 810, 48, 920, 66, 93, 1, 1656, 1, 99, 306, 1792, 54, 549, 1, 432, 78, 531, 1, 3120, 1, 117, 330, 480, 54, 639
Offset: 1

Views

Author

Antti Karttunen, Nov 08 2021

Keywords

Comments

This sequence is the Dirichlet convolution of at least the following pairs of sequences:
- A003415 (the arithmetic derivative) with A038040,
- A000027 (the identity function) with A347130,
- A000203 (sigma) with A347131,
- A018804 with A319684,
- A060640 with A300251.

Crossrefs

Programs

  • Mathematica
    d[1] = 0; d[n_] := n*Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); a[n_] := DivisorSum[n, d[#]*(n/#)*DivisorSigma[0, n/#] &]; Array[a, 100] (* Amiram Eldar, Nov 08 2021 *)
  • PARI
    A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
    A038040(n) = (n*numdiv(n));
    A349123(n) = sumdiv(n,d,A038040(d)*A003415(n/d));

Formula

a(n) = Sum_{d|n} A038040(d) * A003415(n/d).
a(n) = Sum_{d|n} d * A347130(n/d).
a(n) = Sum_{d|n} A000203(d) * A347131(n/d).
a(n) = Sum_{d|n} A018804(d) * A319684(n/d).
a(n) = Sum_{d|n} A060640(d) * A300251(n/d).
For all n >= 1, A348983(n) <= a(n) <= A349143(n).
a(n) = A003557(n) * A349124(n).

A327930 Product_{d|n, d>1} prime(A003415(d)), where A003415(x) gives the arithmetic derivative of x.

Original entry on oeis.org

1, 2, 2, 14, 2, 44, 2, 518, 26, 68, 2, 16324, 2, 92, 76, 67858, 2, 41756, 2, 42364, 116, 164, 2, 116569684, 58, 188, 2678, 84364, 2, 3609848, 2, 27753922, 172, 268, 148, 4353104756, 2, 292, 212, 528236716, 2, 10506584, 2, 256004, 164996, 388, 2, 9360895334252, 86, 388484, 284, 346108, 2, 1802063692, 212, 1495183172, 316
Offset: 1

Views

Author

Antti Karttunen, Sep 30 2019

Keywords

Crossrefs

Programs

  • PARI
    A003415(n) = {my(fac); if(n<1, 0, fac=factor(n); sum(i=1, matsize(fac)[1], n*fac[i, 2]/fac[i, 1]))}; \\ From A003415
    A327930(n) = { my(m=1); fordiv(n,d,if((d>1), m *= prime(A003415(d)))); (m); };

Formula

a(n) = Product_{d|n, d>1} A000040(A003415(d)).
For all n >= 2, a(n) = prime(A003415(n)) * A064989(A319356(n)).
A001221(a(n)) = A319685(n).
A001222(a(n)) = A032741(n).
A007814(a(n)) = A001221(n).
A056239(a(n)) = A319684(n).

A348304 a(n) = Sum_{d|n} d'', where d'' is the second arithmetic derivative of d (A068346).

Original entry on oeis.org

0, 0, 0, 4, 0, 1, 0, 20, 5, 1, 0, 37, 0, 6, 12, 100, 0, 16, 0, 49, 7, 1, 0, 101, 7, 8, 32, 90, 0, 15, 0, 276, 9, 1, 16, 144, 0, 10, 32, 137, 0, 15, 0, 117, 33, 10, 0, 421, 9, 47, 24, 104, 0, 151, 32, 202, 13, 1, 0, 191, 0, 14, 32, 916, 21, 12, 0, 161, 15, 24, 0, 428, 0, 16, 35
Offset: 1

Views

Author

Wesley Ivan Hurt, Oct 10 2021

Keywords

Comments

Sum of the 2nd arithmetic derivatives of the divisors of n.

Examples

			a(8) = 20; a(8) = 1'' + 2'' + 4'' + 8'' = 0 + 0 + 4 + 16 = 20.
		

Crossrefs

Inverse Möbius transform of A068346 (2nd arithmetic derivative).

Programs

  • PARI
    ad(n) = vecsum([n/f[1]*f[2]|f<-factor(n+!n)~]); \\ A003415
    a(n) = sumdiv(n, d, ad(ad(d))); \\ Michel Marcus, Oct 11 2021

Formula

a(p) = 0 for primes p, since we have 1'' + p'' = 0' + 1' = 0 + 0 = 0.
a(n) = Sum_{d|n} A068346(d). - Antti Karttunen, Dec 07 2021
Showing 1-10 of 11 results. Next