Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
a(n) = A327860(A328841(n)).
4

%I #12 Nov 07 2019 14:39:00

%S 0,1,1,5,1,5,1,7,8,31,8,31,1,7,8,31,8,31,1,7,8,31,8,31,1,7,8,31,8,31,

%T 1,9,10,41,10,41,12,59,71,247,71,247,12,59,71,247,71,247,12,59,71,247,

%U 71,247,12,59,71,247,71,247,1,9,10,41,10,41,12,59,71,247,71,247,12,59,71,247,71,247,12,59,71,247,71,247,12,59

%N a(n) = A327860(A328841(n)).

%H Antti Karttunen, <a href="/A329031/b329031.txt">Table of n, a(n) for n = 0..32768</a>

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

%F a(n) = A327860(A328841(n)) = A003415(A276086(A328841(n))).

%F a(n) = A003415(A328571(n)) = A069359(A328571(n)).

%o (PARI) A329031(n) = { my(s=0, m=1, p=2); while(n, if(n%p, m *= p; s += (1/p)); n = n\p; p = nextprime(1+p)); (s*m); };

%Y Cf. A003415, A069359, A276086, A327860, A328571, A328841, A329032.

%Y Cf. A060735 (the positions of ones).

%K nonn

%O 0,4

%A _Antti Karttunen_, Nov 07 2019