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.

A284091 Indices n where prime(n) + 2*prime(n+1) and 2*prime(n) + prime(n+1) have the same number of prime divisors counted with multiplicity.

This page as a plain text file.
%I A284091 #12 Mar 20 2017 12:08:28
%S A284091 2,3,6,11,12,15,16,17,19,20,23,25,27,30,33,34,37,38,47,48,51,53,56,57,
%T A284091 58,60,66,68,75,76,77,78,79,86,87,89,90,93,94,99,100,101,107,110,123,
%U A284091 124,128,133,137,138,139,141,143,145,147,151
%N A284091 Indices n where prime(n) + 2*prime(n+1) and 2*prime(n) + prime(n+1) have the same number of prime divisors counted with multiplicity.
%H A284091 Charles R Greathouse IV, <a href="/A284091/b284091.txt">Table of n, a(n) for n = 1..10000</a>
%F A284091 n such that A001222(A000040(n)+2*A000040(n+1))=A001222(2*A000040(n)+A000040(n+1)). - _Robert Israel_, Mar 20 2017
%e A284091 n = 15, prime(n) = 47, prime(n+1) = 53, both 2*47 + 53 = 147 = 3*7^2 and 47 + 2*53 = 153 = 3^2*17 are products of 3 primes.
%p A284091 select(t -> numtheory:-bigomega(2*ithprime(t)+ithprime(t+1)) = numtheory:-bigomega(ithprime(t)+2*ithprime(t+1)), [$1..1000]); # _Robert Israel_, Mar 20 2017
%t A284091 Select[Range[1000],PrimeOmega[{2,1}.{(p=Prime[#]),(q=Prime[#+1])}]==PrimeOmega[{1,2}.{p,q}]&]
%o A284091 (PARI) list(lim)=my(v=List(),p=2,n); forprime(q=3,, if(n++>lim, break); if(bigomega(p+2*q)==bigomega(2*p+q), listput(v,n)); p=q); Vec(v) \\ _Charles R Greathouse IV_, Mar 20 2017
%Y A284091 A241945 is a subsequence.
%Y A284091 Cf. A000040, A001222.
%K A284091 nonn
%O A284091 1,1
%A A284091 _Zak Seidov_, Mar 19 2017