Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
a(n) = n minus the smallest positive k such that n divides k*A276086(k), where A276086 is primorial base exp-function.
8

%I #10 Jul 28 2022 15:15:26

%S 0,1,1,0,0,4,0,0,6,5,0,8,0,7,10,0,0,15,0,12,7,11,0,16,15,13,18,0,0,25,

%T 0,0,22,17,28,32,0,19,13,32,0,28,0,0,40,23,0,32,14,40,34,0,0,45,44,24,

%U 19,29,0,52,0,31,42,0,52,55,0,0,46,63,0,56,0,37,65,0,44,52,0,64,54,41,0,56,68,43,58,0,0,85,52

%N a(n) = n minus the smallest positive k such that n divides k*A276086(k), where A276086 is primorial base exp-function.

%H Antti Karttunen, <a href="/A355945/b355945.txt">Table of n, a(n) for n = 1..65537</a>

%H <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>

%F a(n) = n - A355944(n).

%o (PARI)

%o A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };

%o A355945(n) = for(k=1, oo, if((k*A276086(k))%n==0, return(n-k)));

%Y Cf. A276086, A324580, A355944, A356151, A356160 (positions of zeros), A356161.

%K nonn

%O 1,6

%A _Antti Karttunen_, Jul 27 2022