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.

A145193 Omega(6n-1) + Omega(6n+1).

This page as a plain text file.
%I A145193 #8 Sep 04 2013 12:58:00
%S A145193 2,2,2,3,2,3,2,3,3,2,3,2,3,3,3,3,2,2,3,4,4,3,2,4,2,3,3,3,4,2,4,2,2,4,
%T A145193 3,4,3,2,3,2,5,3,3,3,2,4,2,4,3,4,3,2,3,5,3,3,5,2,3,3,3,3,3,4,3,3,3,3,
%U A145193 4,2,5,2,3,3,3,4,2,3,5,3,3,3,3,3,3
%N A145193 Omega(6n-1) + Omega(6n+1).
%H A145193 Charles R Greathouse IV, <a href="/A145193/b145193.txt">Table of n, a(n) for n = 1..10000</a>
%F A145193 a(n) = A001222(6n-1) + A001222(6n+1). - _Michel Marcus_, Sep 04 2013
%e A145193 For n=1, Omega(6n-1) + Omega(6n+1) = Omega(5) + Omega(7) = 1+1 = 2, so a(1)=2.
%t A145193 For[x=6, x<601, x+=6,S=0;T=0;For[k=1, k< Length[FactorInteger[x-1]]+1,k++,S+= FactorInteger[x-1][[k]][[2]]];For[m=1, m<Length[FactorInteger[x+1]]+1,m++,T+= FactorInteger[x+1][[m]][[2]]]; Print[x/6," ",S+T]]
%t A145193 Table[Total[PrimeOmega/@(6n+{1,-1})],{n,60}] (* _Harvey P. Dale_, May 22 2013 *)
%o A145193 (PARI) a(n) = bigomega(6*n-1) + bigomega(6*n+1); \\ _Michel Marcus_, Sep 04 2013
%Y A145193 Cf. A145194.
%K A145193 nonn,easy
%O A145193 1,1
%A A145193 _Arran Fernandez_, Oct 03 2008
%E A145193 More terms from _Michel Marcus_, Sep 04 2013