login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A275991 a(n) = prime(composite(n)) - prime(n). 0
5, 10, 14, 16, 18, 24, 26, 28, 30, 32, 40, 36, 38, 46, 50, 48, 44, 46, 46, 60, 64, 60, 66, 62, 66, 66, 70, 74, 84, 84, 72, 92, 90, 90, 84, 88, 94, 94, 96, 96, 92, 100, 102, 114, 114, 114, 106, 114, 120, 120, 126, 134, 138, 132, 132, 134, 140, 148, 144, 152, 156, 150 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..62.

FORMULA

a(n) = A000040(A002808(n)) - A000040(n) = A088982(n) - A000040(n).

EXAMPLE

For n=3, prime(composite(3)) = 19, and prime(3) = 5, therefore a(3) = 19 - 5 = 14.

MATHEMATICA

Table[Prime[Composite(n)] - Prime[n], {n, 1, 100}]

CROSSREFS

Cf. A088982.

Sequence in context: A164889 A173553 A226153 * A313452 A023981 A313453

Adjacent sequences:  A275988 A275989 A275990 * A275992 A275993 A275994

KEYWORD

nonn

AUTHOR

Terry D. Grant, Aug 15 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 22:44 EDT 2019. Contains 328291 sequences. (Running on oeis4.)