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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097453 Primes p of the form p = prime(k) - composite(k) for some k. 0
2, 3, 5, 5, 13, 13, 17, 23, 41, 41, 61, 67, 67, 89, 109, 131, 131, 157, 163, 167, 167, 181, 191, 191, 199, 199, 227, 263, 269, 281, 367, 409, 433, 433, 457, 467, 503, 503, 569, 593, 617, 641, 709, 761, 811, 839, 859, 859, 883, 887, 1019, 1033, 1033, 1117, 1193 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

The 10-th prime is 29, the 10-th composite is 16. 29+16=13 the 5-th entry in the table.

PROG

(PARI) primepcomp(n) = { for(x=5, n, y=prime(x)- composite(x); if(isprime(y), print1(y", ")) ) } \ the n-th composite composite(n) = { local(c, x); c=1; x=0; while(c <= n, x++; if(!isprime(x), c++); ); return(x) }

CROSSREFS

Sequence in context: A050368 A156834 A079024 * A079125 A146305 A079022

Adjacent sequences:  A097450 A097451 A097452 * A097454 A097455 A097456

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Aug 23 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 20 09:58 EDT 2013. Contains 225458 sequences.