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.

A328831 Number of distinct prime factors p such that p^p is a divisor of n-th number > 0 that is a sum of distinct primorial numbers, A276156(n).

This page as a plain text file.
%I A328831 #8 Nov 01 2019 18:39:08
%S A328831 0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,2,0,0,0,1,0,0,1,0,0,1,0,0,0,1,
%T A328831 0,1,0,0,0,1,0,0,0,0,0,1,1,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,
%U A328831 0,0,0,1,0,0,0,0,0,1,0,2,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0
%N A328831 Number of distinct prime factors p such that p^p is a divisor of n-th number > 0 that is a sum of distinct primorial numbers, A276156(n).
%H A328831 Antti Karttunen, <a href="/A328831/b328831.txt">Table of n, a(n) for n = 1..65537</a>
%H A328831 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%H A328831 <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%F A328831 a(n) = A129251(A276156(n)).
%o A328831 (PARI)
%o A328831 A129251(n) = { my(f = factor(n)); sum(k=1, #f~, (f[k, 2]>=f[k, 1])); };
%o A328831 A276156(n) = { my(p=2,pr=1,s=0); while(n,if(n%2,s += pr); n >>= 1; pr *= p; p = nextprime(1+p)); (s); };
%o A328831 A328831(n) = A129251(A276156(n));
%Y A328831 Cf. A129251, A276156.
%Y A328831 Cf. A328832 (gives A276156(k) for those k for which a(k) = 0).
%K A328831 nonn
%O A328831 1,20
%A A328831 _Antti Karttunen_, Oct 30 2019