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”).

A164275
The absolute value of (the n-th isolated composite minus the n-th isolated prime).
0
2, 17, 25, 29, 23, 25, 19, 11, 13, 11, 25, 23, 49, 35, 35, 61, 67, 59, 59, 79, 97, 163, 169, 185, 229, 263, 283, 287, 305, 307, 451, 455, 455, 479, 499, 631, 635, 649, 653, 653, 709, 781, 821, 823, 823, 833, 937, 953, 979, 979, 1067, 1073, 1111, 1135, 1145, 1201, 1279
OFFSET
1,1
COMMENTS
An isolated composite is surrounded by two primes, and therefore an average of a twin prime pair.
FORMULA
a(n)= |A014574(n)-A007510(n)|.
EXAMPLE
a(1)=abs(4-2)=2, a(2)=abs(6-23)=17.
CROSSREFS
Sequence in context: A107137 A086322 A340048 * A284646 A270344 A300134
KEYWORD
nonn
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, Aug 27 2009
STATUS
approved