login
Composites of the form n/(prime(n-1) - prime(n-2)).
0

%I #6 Oct 04 2015 01:43:09

%S 6,4,6,14,15,10,4,27,10,33,18,20,12,50,20,16,22,34,14,72,75,77,20,27,

%T 21,90,92,96,50,34,104,35,18,57,116,118,119,40,18,64,129,26,132,135,

%U 34,144,145,49,148,50,152,160,161,81,42,169,57,174,60,92,65,196,99,200,68,205

%N Composites of the form n/(prime(n-1) - prime(n-2)).

%C Listed in order of increasing n.

%e For n=12, 12/(prime(12-1)-prime(12-2))=12/(31-29)=6=a(1).

%e For n=16, 16/(prime(16-1)-prime(16-2))=16/(47-43)=4=a(2).

%p for n from 3 to 1000 do c := n/(ithprime(n-1)-ithprime(n-2)) ; if type(c,'integer') then if not isprime(c) then printf("%d,",c) ; fi; fi; od: # _R. J. Mathar_, Aug 03 2009

%Y Cf. A000040, A001223, A002808.

%K nonn

%O 1,1

%A _Juri-Stepan Gerasimov_, Sep 15 2008

%E Corrected by _R. J. Mathar_, Aug 03 2009