login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114404 4-almost prime gaps. First differences of A014613. 3

%I #15 May 12 2018 17:38:10

%S 8,12,4,14,2,4,21,3,4,2,10,4,22,6,3,1,4,10,2,4,28,5,7,2,6,6,10,5,3,4,

%T 2,14,2,10,16,18,2,1,9,2,7,13,2,10,2,2,4,2,1,13,8,3,1,4,10,24,10,17,3,

%U 15,1,2,10,4,8,4,2,2,3,15,3,3,6,3,7,4,10,4,8,6,4,2,2,8,4,1,35,1,4,7,4,8,6

%N 4-almost prime gaps. First differences of A014613.

%H T. D. Noe, <a href="/A114404/b114404.txt">Table of n, a(n) for n=1..10000</a>

%F a(n) = A014613(n+1) - A014613(n).

%e a(1) = 8 = 24-16 where 16 is the first 4-almost prime and 24 is the second.

%e a(2) = 12 = 36-24.

%e a(3) = 4 = 40-36.

%e a(4) = 14 = 54-40.

%e a(5) = 2 = 56-54.

%e a(6) = 4 = 60-56.

%e a(7) = 21 = 81-60.

%e a(13) = 22 = 126-104.

%e a(21) = 28 = 184-156.

%p A114404 := proc(nmax) local a,i,a014613 ; a := [] ; i := 1 ; a014613 := -1 ; while nops(a) < nmax do if numtheory[bigomega](i) = 4 then if a014613 > 0 then a := [op(a),i-a014613] ; fi ; a014613 := i ; fi ; i := i+1 ; end: a ; end: A114404(200) ; # _R. J. Mathar_, May 10 2007

%t Differences[Select[Range[800],Total[FactorInteger[#][[All,2]]]==4&]] (* _Harvey P. Dale_, Feb 14 2017 *)

%t Select[Range[1000],PrimeOmega[#]==4&]//Differences (* _Harvey P. Dale_, May 12 2018 *)

%Y Cf. A014613, A065516, A111870, A111871, A114403-A114411, A114412-A114422.

%K easy,nonn

%O 1,1

%A _Jonathan Vos Post_, Nov 25 2005

%E Corrected and extended by _R. J. Mathar_, May 10 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)