login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A141796
Composites of the form n/(prime(n-1) - prime(n-2)).
0
6, 4, 6, 14, 15, 10, 4, 27, 10, 33, 18, 20, 12, 50, 20, 16, 22, 34, 14, 72, 75, 77, 20, 27, 21, 90, 92, 96, 50, 34, 104, 35, 18, 57, 116, 118, 119, 40, 18, 64, 129, 26, 132, 135, 34, 144, 145, 49, 148, 50, 152, 160, 161, 81, 42, 169, 57, 174, 60, 92, 65, 196, 99, 200, 68, 205
OFFSET
1,1
COMMENTS
Listed in order of increasing n.
EXAMPLE
For n=12, 12/(prime(12-1)-prime(12-2))=12/(31-29)=6=a(1).
For n=16, 16/(prime(16-1)-prime(16-2))=16/(47-43)=4=a(2).
MAPLE
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
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by R. J. Mathar, Aug 03 2009
STATUS
approved