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!)
A328319 Sum of digits when A328316(n) is written in primorial base; number of prime factors in A328316(1+n), counted with multiplicity. 5
0, 1, 1, 2, 1, 3, 3, 7, 21, 159, 12927, 132571335 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = A276150(A328316(n)).
a(n) = A001222(A328316(1+n)).
PROG
(PARI)
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
A328316(n) = if(!n, 0, A276086(A328316(n-1)));
A276150(n) = { my(s=0, p=2, d); while(n, d = (n%p); s += d; n = (n-d)/p; p = nextprime(1+p)); (s); };
\\ Or alternatively, more slowly as:
A328319(n) = bigomega(A328316(1+n));
CROSSREFS
Sequence in context: A034399 A005292 A183256 * A307366 A249137 A246174
KEYWORD
nonn,more,hard
AUTHOR
Antti Karttunen, Oct 14 2019
STATUS
approved

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 July 4 23:47 EDT 2024. Contains 374017 sequences. (Running on oeis4.)