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.

A327168 Number of common divisors of n and A276086(n), with a(0) = 1.

This page as a plain text file.
%I A327168 #7 Sep 19 2019 21:13:40
%S A327168 1,1,1,2,1,1,1,1,1,2,2,1,1,1,1,4,1,1,1,1,2,2,1,1,1,3,1,2,1,1,1,1,1,2,
%T A327168 1,2,1,1,1,2,2,1,2,1,1,4,1,1,1,2,3,2,1,1,1,2,2,2,1,1,1,1,1,4,1,1,1,1,
%U A327168 1,2,4,1,1,1,1,6,1,2,1,1,2,2,1,1,2,2,1,2,1,1,1,2,1,2,1,1,1,1,3,2,2,1,1,1,1,8
%N A327168 Number of common divisors of n and A276086(n), with a(0) = 1.
%H A327168 Antti Karttunen, <a href="/A327168/b327168.txt">Table of n, a(n) for n = 0..16383</a>
%H A327168 Antti Karttunen, <a href="/A327168/a327168.txt">Data supplement: n, a(n) computed for n = 0..65537</a>
%H A327168 <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%F A327168 a(n) = A000005(A324198(n)).
%F A327168 a(n) = 1+A001222(A327167(n)) for n >= 1.
%o A327168 (PARI)
%o A327168 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 A327168 A327168(n) = numdiv(gcd(n,A276086(n)));
%Y A327168 Cf. A000005, A001222, A276086, A324198, A327167.
%Y A327168 Cf. also A323878.
%K A327168 nonn
%O A327168 0,4
%A A327168 _Antti Karttunen_, Sep 19 2019