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.

A328404 The length of primorial base expansion (number of significant digits) of A276086(n), where A276086(n) converts primorial base expansion of n into its prime product form.

This page as a plain text file.
%I A328404 #12 Oct 18 2019 11:29:37
%S A328404 1,2,2,3,3,3,2,3,3,4,4,4,3,4,4,4,5,5,4,5,5,5,5,5,5,5,5,6,6,6,3,3,3,4,
%T A328404 4,4,4,4,4,5,5,5,4,5,5,5,5,6,5,5,6,6,6,6,6,6,6,6,7,7,4,4,4,5,5,5,5,5,
%U A328404 5,5,5,6,5,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,8,5,5,5,5,6,6,5,6,6,6,6,7,6,6,6,7
%N A328404 The length of primorial base expansion (number of significant digits) of A276086(n), where A276086(n) converts primorial base expansion of n into its prime product form.
%H A328404 Antti Karttunen, <a href="/A328404/b328404.txt">Table of n, a(n) for n = 0..32768</a>
%H A328404 <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%F A328404 a(n) = A235224(A276086(n)) = A061395(A276087(n)).
%F A328404 For all n, a(A143293(n-1)) = n+1.
%F A328404 For all n, A000040(a(n)) > A328389(n).
%t A328404 Block[{b = MixedRadix[Reverse@ Prime@ Range@ 120]}, Array[IntegerLength[Times @@ Power @@@ # &@ Transpose@ {Prime@ Range@ Length@ #, Reverse@ #} &@ IntegerDigits[#, b], b] &, 105, 0]] (* _Michael De Vlieger_, Oct 17 2019 *)
%o A328404 (PARI)
%o A328404 A235224(n) = { my(s=0, p=2); while(n, s++; n = n\p; p = nextprime(1+p)); (s); };
%o A328404 A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
%o A328404 A328404(n) = A235224(A276086(n));
%Y A328404 Cf. A061395, A143293, A235224, A276086, A276087, A328389, A328405, A328406.
%Y A328404 Cf. A328402 (number of times each n occurs in this sequence).
%K A328404 nonn
%O A328404 0,2
%A A328404 _Antti Karttunen_, Oct 16 2019