A373603 The second smallest k such that A003415(k) == A276086(k) mod A002110(n), or -1 if no such k exists, where A003415 is the arithmetic derivative, A276086 is the primorial base exp-function, and A002110 gives the n-th primorial.
2, 9, 26, 122, 1382, 21446, 204566, 9699686, 90387605
Offset: 1
Crossrefs
Programs
-
PARI
A002110(n) = prod(i=1,n,prime(i)); A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1])); A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); }; A373603(n) = { my(m=A002110(n), c=2); for(i=1,oo,if(0==((A276086(i)-A003415(i))%m), c--; if(0==c, return(i)))); };
Comments