A351029 Number of integers whose arithmetic derivative is equal to the n-th primorial.
0, 1, 3, 19, 114, 905, 9494, 124181, 2044847, 43755729, 1043468388, 30309948250
Offset: 1
Examples
a(1) = 0 because there are no such k that A003415(k) = 2 = A002110(1). a(2) = 1 because there is only one number, 9, such that A003415(9) = A002110(2) = 6. a(3) = 3 because there are exactly three numbers, k = 161, 209, 221, for which A003415(k) = A002110(3) = 30. (See A327978). These are all semiprime solutions, generated by the partitions of 30 into 2 primes: 30 = 7 + 23 = 11 + 19 = 13 + 17, and we have 7*23 = 161; 11*19 = 209; 13*17 = 221.
Links
Crossrefs
Programs
-
PARI
A002110(n) = prod(i=1,n,prime(i)); A002620(n) = ((n^2)>>2); A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1])); A351029(n) = { my(g=A002110(n)); sum(k=1,A002620(g),A003415(k)==g); }; \\ Very naive and slow. See comments in A327978.
-
PARI
A351029(n) = {v=prod(j=1,n,prime(j)); c=0; for(k=2, v^2/4, d=0; m=factor(k); for(i=1, matsize(m)[1], d+=(m[i,2]/m[i,1])*k; if(d>v, break;); ); if(d==v, c=c+1; ); ); c;} \\ Craig J. Beisel, Sep 13 2022
Formula
Extensions
a(7) from Craig J. Beisel, Sep 13 2022
a(8)..a(12) [the last based on the value of A116979(12)] from Antti Karttunen, Jan 09 2024
Comments