login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A328318 Number of nonzero digits in representation of A328316(n) in primorial base; Number of distinct prime factors in A328316(1+n). 5

%I #15 Oct 14 2019 13:55:21

%S 0,1,1,2,1,2,1,3,5,16,104,7447

%N Number of nonzero digits in representation of A328316(n) in primorial base; Number of distinct prime factors in A328316(1+n).

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

%F a(n) = A267263(A328316(n)).

%F a(n) = A001221(A328316(1+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 A328316(n) = if(!n,0,A276086(A328316(n-1)));

%o A267263(n) = { my(s=0, p=2, d); while(n, d = (n%p); s += !!d; n = (n-d)/p; p = nextprime(1+p)); (s); };

%o A328318(n) = A267263(A328316(n));

%o \\ Or alternatively, more slowly as:

%o A328318(n) = omega(A328316(1+n));

%Y Cf. A001221, A267263, A276086, A328316, A328317, A328319.

%K nonn,base,hard,more

%O 0,4

%A _Antti Karttunen_, Oct 14 2019

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 05:16 EDT 2024. Contains 371906 sequences. (Running on oeis4.)