cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A328319 Sum of digits when A328316(n) is written in primorial base; number of prime factors in A328316(1+n), counted with multiplicity.

This page as a plain text file.
%I A328319 #13 Oct 14 2019 13:55:40
%S A328319 0,1,1,2,1,3,3,7,21,159,12927,132571335
%N A328319 Sum of digits when A328316(n) is written in primorial base; number of prime factors in A328316(1+n), counted with multiplicity.
%H A328319 <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%F A328319 a(n) = A276150(A328316(n)).
%F A328319 a(n) = A001222(A328316(1+n)).
%o A328319 (PARI)
%o A328319 A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
%o A328319 A328316(n) = if(!n,0,A276086(A328316(n-1)));
%o A328319 A276150(n) = { my(s=0, p=2, d); while(n, d = (n%p); s += d; n = (n-d)/p; p = nextprime(1+p)); (s); };
%o A328319 A328319(n) = A276150(A328316(n));
%o A328319 \\ Or alternatively, more slowly as:
%o A328319 A328319(n) = bigomega(A328316(1+n));
%Y A328319 Cf. A001221, A276086, A276150, A328316, A328317, A328318, A328322.
%K A328319 nonn,more,hard
%O A328319 0,4
%A A328319 _Antti Karttunen_, Oct 14 2019