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.
%I A249072 #7 Oct 26 2014 20:48:35 %S A249072 0,1,0,1,1,2,0,2,1,2,2,2,3,0,2,3,1,3,2,4,0,3,2,3,3,3,4,1,3,3,4,2,4,2, %T A249072 4,3,4,3,5,0,3,4,4,3,6,0,4,4,4,5,1,4,4,6,1,3,5,2,5,2,4,5,3,5,3,4,5,4, %U A249072 4,7,0,3,7,1,4,5,3,5,4,8,0,4,5,4,6,2,6,2,5,5,4,6,3,8,1,4,9,0 %N A249072 Sum of prime indices in the prime factorization of A249337(n), counted with multiplicity: a(n) = A056239(A249337(n)). %H A249072 Antti Karttunen, <a href="/A249072/b249072.txt">Table of n, a(n) for n = 1..12580</a> %F A249072 a(n) = A056239(A249337(n)). %o A249072 (PARI) %o A249072 A049084(n) = if(isprime(n), primepi(n), 0); \\ This function from _Charles R Greathouse IV_ %o A249072 A056239(n) = { my(f); if(1==n, 0, f=factor(n); sum(i=1, #f~, f[i,2] * A049084(f[i,1]))); } %o A249072 A249072_write_bfile(up_to_n) = { my(counts, n, a_k, a_n); counts = vector(up_to_n); a_k = 1; for(n = 1, up_to_n, a_n = A056239(a_k); write("b249072_upto12580.txt", n, " ", a_n); counts[1+a_n]++; if(1 == n, a_k = 2, a_k = counts[1+a_n])); }; %o A249072 A249072_write_bfile(12580); %o A249072 (Scheme) (define (A249072 n) (A056239 (A249337 n))) %Y A249072 Cf. A056239, A249337, A249338. %Y A249072 Cf. A249341 (positions of zeros), A249342 (positions of records). %K A249072 nonn %O A249072 1,6 %A A249072 _Antti Karttunen_, Oct 26 2014