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.

A324655 a(n) = A000005(A276086(n)).

This page as a plain text file.
%I A324655 #16 Mar 10 2019 19:32:57
%S A324655 1,2,2,4,3,6,2,4,4,8,6,12,3,6,6,12,9,18,4,8,8,16,12,24,5,10,10,20,15,
%T A324655 30,2,4,4,8,6,12,4,8,8,16,12,24,6,12,12,24,18,36,8,16,16,32,24,48,10,
%U A324655 20,20,40,30,60,3,6,6,12,9,18,6,12,12,24,18,36,9,18,18,36,27,54,12,24,24,48,36,72,15,30,30,60,45,90,4,8,8
%N A324655 a(n) = A000005(A276086(n)).
%C A324655 Alternative construction: write n down in primorial base (as in A049345, taking care of not mangling digits larger than 9), increment all the digits by one, and multiply together to get a(n). a(0) = 1 either as an empty product, or as a product of any number of 1's. See examples.
%H A324655 Antti Karttunen, <a href="/A324655/b324655.txt">Table of n, a(n) for n = 0..30030</a>
%H A324655 <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%H A324655 <a href="/index/Pri#primorial_numbers">Index entries for sequences related to primorial numbers</a>
%F A324655 a(n) = A000005(A276086(n)).
%F A324655 a(A002110(n)) = 2.
%e A324655 For n = 11, its primorial base representation is "121" as 11 = 1*A002110(2) + 2*A002110(1) + 1*A002110(0) = 1*6 + 2*2 + 1*1, thus a(11) = (1+1)*(2+1)*(1+1) = 12.
%e A324655 For n = 13, its primorial base representation is "201" as 13 = 2*6 + 0*2 + 1*1, thus a(13) = (2+1)*(0+1)*(1+1) = 6.
%o A324655 (PARI) A324655(n) = { my(t=1,m); forprime(p=2, , if(!n, return(t)); m = n%p; t *= (1+m); n = (n-m)/p); };
%o A324655 (PARI)
%o A324655 A276086(n) = { my(i=0,m=1,pr=1,nextpr); while((n>0),i=i+1; nextpr = prime(i)*pr; if((n%nextpr),m*=(prime(i)^((n%nextpr)/pr));n-=(n%nextpr));pr=nextpr); m; };
%o A324655 A324655(n) = numdiv(A276086(n));
%Y A324655 Cf. A000005, A002110 (positions of 2's), A049345, A276086.
%Y A324655 Cf. also A267263, A276150, A324650, A324653 for omega, bigomega, phi and sigma analogs.
%K A324655 nonn
%O A324655 0,2
%A A324655 _Antti Karttunen_, Mar 10 2019